-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UX on Single Logout using SAML #18366
Comments
We just implemented an Okta SAML 2.0 integration with Kibana/ES. By default, the user will end up in an endless authentication loop: With an Okta SAML 2.0 app, the SSO URL is navigated to when the user clicks on the Okta app. The user is then authenticated properly, but is redirected back to the original target URL - which was the SSO URL, so the process repeats in an endless loop. As a workaround, we created a bookmark app in Okta that points to the top-level Kibana page, and hid the (active) SAML 2.0 app without disabling it. By navigating to the top-level, the user properly then authenticates via the SAML app, and navigates back to the top level page on success. One possible enhancement here is to provide an optional redirection target for successful external authentication, and possibly default to the top level page. |
@kcm have you seen this: [removed] They seem to be getting a different behavior with the same OKTA settings. Can you compare and share your feedback? |
@jkakavas we did everything listed in LINK REDACTED. It did start working today, sporadically. Looks like something is being cached on the server side. I've isolated the following behavior:
The logs show a 200 for the first /login and 302 for the second /login. Here's the 302 and following verbose logs:
|
Adding the "successfully logged out page" solved a majority of the issues described here. I've created #39313 to track the creation of the "auth provider selection" splash-screen before login for the final way we could improve this situation. |
Original comment by @jkakavas:
When Single Logout is enabled and functional, the user ends up in a loop
Perceived user experience is that they click on logout and they are redirected to page to log in.
UX issues are similar to LINK REDACTED and solutions are similar :
The text was updated successfully, but these errors were encountered: