Log Users Out of Auth0

The Auth0 Logout endpoint works in one of two ways:

  • Clears the Single Sign-on (SSO) cookie in Auth0.

  • Clears the SSO cookie in Auth0 and signs out the user from the identity provider (IdP) (such as ADFS or Google).

To log the user out of both Auth0 and the IdP, you must include the federated querystring parameter with your call to the Logout endpoint.

Redirecting the user to this URL clears all SSO cookies set by Auth0 for the user. To learn more about cookies, read Authentication API Cookies.

Learn more