I don’t know if this is posible with KC.
I want to achieve account switching with keycloak (one navigator, many sessions open)
For example:
Flow 1:
-
Access to webapp (user not logged)
-
Redirect to KC login page and let the user decide to
- Login (if no user was previously logged in with kc)
OR:
- If only a user is logged in return to the webapp (this is the default behavior)
OR:
- Select a logged in user (if there is more than 1 session open with this navigator)
- Open another account
-
Webapp receives callback with the auth-grant for the user selected in KC login page.
Flow 2:
- An user is logged in into webapp, and selects the option: change user
- Redirect to KC login page:
- select another session previously open with this navigator
- open a new session
I’m trying to configure to work like account switching to gmail