Replies: 1 comment 8 replies
-
|
I've seen mentions of the "already logged in as " in the discussions before, but I assumed it was a cookie / caching issue that made the login form show up without properly logging out. However, this should not be the case since you mention logging out explicitly first. Are you logging out from the Keycloak account console ( |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
After upgrading from Keycloak 17 to Keycloak 26.4.5, we have observed a change in session behavior across multiple tabs and sites. Below is the scenario:
Keycloak 17 Behavior:
If I log in as User 1 in Tab One for Site 1, and then open Site 2 in Tab Two, it automatically logs in with User 1 (SSO behavior).
If I log out from Tab Two and try to log in as User 2, it allows me to log in successfully.
Keycloak 26.4.5 Behavior:
If I log in as User 1 in Tab One for Site 1, and then open Site 2 in Tab Two, it also logs in with User 1.
However, if I log out from Tab Two and try to log in as User 2, it shows the error:
“You are already authenticated as a different user 'User 1' in this session. Please sign out first.”
We would like the behavior to remain consistent with Keycloak 17 (allow login with a different user after logout in the second tab). Could you please advise what is causing this change and suggest any configuration or solution to achieve the previous behavior?
Thank you for your guidance in advance.
Beta Was this translation helpful? Give feedback.
All reactions