I cannot logout from Auth0 using federated

Hi @rishiban.ramesh,

If you are using an external IDP:
If the user still has a valid session on the external IDP, then when they are forwarded onto the External IDP it can recognise their first session and passes back abc@something.com’s profile to Auth0.

We have the federated logout option, but not all IDPs support this, so you may need to code into your app another call to your IDP to also end the user’s session with them.

In addition / Not using an external IDP:
Also, calling the Auth0 logout endpoint will only end the Auth0 session, but if you have an application session, you will need to also clear the application session when the user initiates the logout. - Logout
Otherwise your app may still treat them as logged in with the previous user

1 Like