Whenever someone attempts to sign in through OAuth, keycloak automatically attempts to create a new user with the given user data returned from the provider. This behavior results in a conflict, in cases user had already been registered prior to Oauth2 Signin attempt.
Resolve this issue, by linking the existing user to the federated identity, whenever keycloak responds with an error "User already exists".
Whenever someone attempts to sign in through OAuth, keycloak automatically attempts to create a new user with the given user data returned from the provider. This behavior results in a conflict, in cases user had already been registered prior to Oauth2 Signin attempt.
Resolve this issue, by linking the existing user to the federated identity, whenever keycloak responds with an error "User already exists".