OAuth

How is Logout Endpoint URL different from Custom Logout Template/URL and how to configure it?

3525 views May 26, 2025 2

When a user logs out, you can control how the logout flow behaves depending on whether your OAuth provider supports logout requests. Below are two logout options supported by the plugin:

To prevent users from being assigned to any default groups:


1. Logout Endpoint URL


Purpose:

Logs the user out from both the application (e.g., Jira) and the OAuth provider.

Use this option only if your OAuth provider supports logout requests.

How it works:

  • When the user clicks Logout, a logout request is sent to the OAuth providerʼs logout endpoint.
  • This ensures the user is logged out from the provider session as well (e.g., AWS Cognito, Keycloak, etc.).

Configuration Steps:

  1. Go to the Configured Provider in the plugin settings.
  2. Click on Advanced Settings for the selected provider.
  3. Enter the logout endpoint URL provided by your OAuth provider. Example AWS Cognito): https://{domainName}/logout?client_id={ClientID}&logout_uri={SignOutRedirectURL}

Note: If this is configured, it overrides any Custom Logout URL/Template.


2. Custom Logout URL/Template

Use this if your OAuth provider does not support logout requests or you want to simply redirect the user to a specific page after logout.


Custom Logout URL:

  • Redirects the user to a specific URL after logout (e.g., a thank you page or login screen)
  • Works universally with all OAuth providers.

Configuration Steps:

  1. Go to SSO Settings → Post Logout Configuration tab.
  2. Enter your Custom Logout URL.
  3. Save the settings.

Custom Logout Template:

  • Displays a custom HTML template after logout.
  • Useful if you want to show a message or offer a link to log in again.

Configuration Steps:

  1. Go to SSO Settings → Post Logout Configuration tab.
  2. Enable Custom Logout Template.
  3. Define your template or message (e.g., include a "Log In Again" link).
  4. Save the settings.

Was this helpful?


Hello there!

Need Help? We are right here!

support