Auth0 Home Blog Docs

Logout redirect facebook



When i use the next URL, enter Facebook, not redirect after that to my site. If i enter again the same URL, redirect directly to my site and when i login again, ask for my user and password and that’s ok. But the usual, is the redirect works, what is the problem?. I got a SPA based in React.[facebook_access_token]


Look here:

![alt text][1]

I try with the way the others logout do:[facebook access_token]
  1. ?federated

  2. &returnTo=http%3A%2F%2Flocalhost%3A8000

  3. &client_id=CLIENT_ID

  4. &access_token=[facebook access_token]

But only i get is a redirect fo facebook, and without redirect or a really logout.


At first glance, the URL you’re using does not seem to be what we would expect in this situation; I never actually tried to do something like what’s done in that URL so not sure if its the root cause, but I would start there.

In particular, you have a redirectTo that is again the logout endpoint URL:

The normal expectation would be that the returnTo URL would be one directly associated with the client application, in your case, something like: