You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for reporting this.
On first sight, this behaviour may seem irritating, but it actually works as designed.
When the user first logs in via the home IdP, the authenticator assumes that the user's email simon@example.com is verified and trusted. Otherwise redirecting to that IdP based on the email domain example.com would not make sense, right?
During the first login, Keycloak will import the user to the realm (test-realm in this case). During second login the user now already exists with the email simon@example.com in the test-realm. Therefore, the authenticator will now validate whether the email address is verified. In your case this does not seem to be the case. The outcome of the authenticator will be marked as attempted. If you do not have an additional alternative configured, authentication fails.
In your example, please ensure that Trust Email is switched on to trust emails and to make the second login succeed.
Is there an existing issue for this?
Current Behavior
A user can login via the discovered IDP on first login successfully,
However, once the user has been created in the 'test-realm' subsequent login fails on 'Invalid username or password.'
The user is not given the opportunity to enter a password either on the test realm or the linked idp.
Expected Behavior
User can login
Steps To Reproduce
Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: