User Account Linking

172 views
Skip to first unread message

S Bala

unread,
May 23, 2023, 4:49:13 PM5/23/23
to Keycloak User
I trying to link external IdP (OIDC provider) user account to internal keycloak (OIDC consumer) using first broker login auth flow. User(email) already exists on keycloak but keycloak always tries to provision account instead of automatically linking based on email address (which is the user id). In case of account link the user is being prompted for username and password, where as the user in keycloak does not even have a password.

Can someone let me know how to enable automatic account linking on keycloak consumer, when the email address matches.

Björn Eickvonder

unread,
May 23, 2023, 8:36:24 PM5/23/23
to Keycloak User

You need a custom authentication flow with idp-auto-link.

S Bala

unread,
May 23, 2023, 9:55:13 PM5/23/23
to Keycloak User
I have an existing custom authentication flow, which redirects to specific Idp based on conditions. However I'm trying to achieve this using customized first broker login.
Reply all
Reply to author
Forward
0 new messages