Log Users Out of Auth0
The /logout endpoint in Auth0 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
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.