Docs

Log Users Out of Auth0

The logout endpoint in Auth0 works in one of two ways:

  1. Clears the Single Sign-on (SSO) cookie in Auth0. To force a logout, redirect the user to the following URL:
https://YOUR_DOMAIN/v2/logout
  1. Clears the SSO cookie in Auth0 and sign out the user from the 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 Single Sign-on (SSO) cookies set by Auth0 for the user.

Keep reading