Skip to content

Instantly share code, notes, and snippets.

@saltukalakus
Last active May 13, 2020 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saltukalakus/d74373e8c13bbf5ba7280f25aea00e40 to your computer and use it in GitHub Desktop.
Save saltukalakus/d74373e8c13bbf5ba7280f25aea00e40 to your computer and use it in GitHub Desktop.
Auth0 SAML Login-Logout matrix

Auth0 as IdP

IdP initiated login:

IdP initiated logout:

How is it initiated?

Once initiated, sends the logout request to the callback URL configured at SAML addon callback setting.

"logout": {
  "callback": "CALLBACK_URL"
}

Sp initiated login:

Sp initiated logout:

Receives the logout request at https://YOUR_DOMAIN/samlp/CLIENT_ID/logout

Sends the logout response back at SAML addon callback setting.

"logout": {
  "callback": "CALLBACK_URL"
}

Auth0 as SP

IdP initiated login:

IdP initiated logout:

Expects the logout request at https://YOUR_DOMAIN/logout

SP initiated login:

SP initiated logout:

  • Expects the response at https://YOUR_DOMAIN/logout
  • Sends request to upstream IdP with the URL configured at "Sign Out URL" in the SAML enterprise connection settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment