Unable to Sign Out From Okta Desktop Single Sign-On
Last Updated:
Overview
When Desktop Single Sign-On (DSSO) or Agentless Desktop Single Sign-On (ADSSO) is enabled, users cannot sign out of Okta and are automatically re-authenticated. Configuring a custom sign-out page in the Okta Admin Console resolves the issue.
Applies To
- Desktop Single Sign-On (DSSO)
- Agentless Desktop Single Sign-on (ADSSO)
- Okta Classic Engine
- Okta Identity Engine (OIE)
Cause
When a user signs out of Okta, Okta redirects them to the sign-in page. Because DSSO or ADSSO is enabled, the user's computer automatically starts the authentication process again, causing the user to be re-authenticated immediately.
Solution
How to Sign Out of Desktop Single Sign-On Without Re-Authenticating
Configure a custom sign-out page in the Okta Admin Console to redirect users after signing out without triggering automatic re-authentication.
- Sign in to the Okta Admin Console.
- Choose Customizations > Brands.
- Select the brand applied to the Okta org and then access Settings.
- Find the Sign-Out page configuration and click Edit.
- Select Use a custom sign-out page and enter the URL that users will be redirected to after signing out of Okta. To redirect users to the Okta sign-in page without automatic re-authentication, use the following URL:
https://<org>.okta.com/login/default
NOTE: The default behavior in Okta uses a cookie to maintain a user's signed-in status. To automatically sign users out when they close their browser, modify the Session Lifetime setting in Okta. Changing this setting can impact other functionalities in Okta, such as Security Assertion Markup Language (SAML) SSO.
