Repository navigation
Unable to Select Organization During User Login #33911
Unanswered
arbha1erao
asked this question in
Q&A
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.
I’ve created two organizations, and I have a user that is part of both. However, when I try to log in with this user, I don’t see an option to select which organization to log into.
Has anyone encountered this issue? Any insights or solutions would be greatly appreciated!
Thanks in advance!
All reactions
Replies: 2 comments · 2 replies
Uh oh!
There was an error while loading. Please reload this page.
@arbha1erao Any solution?
All reactions
Uh oh!
There was an error while loading. Please reload this page.
Did not find any solution yet.
All reactions
Uh oh!
There was an error while loading. Please reload this page.
I found the solution #35581
All reactions
Uh oh!
There was an error while loading. Please reload this page.
Hey — we ran into the same gap and built an open-source Keycloak Authenticator SPI that handles this:
https://github.com/revspot/keycloak-select-org-authenticator
It plugs into the browser authentication flow as a post-login step and queries the user's native Keycloak 26+ Organization memberships:
Stores the selection in session notes (
kc.org) so the built-in Organization Membership token mapper picks it up automatically. Hope it helps!All reactions