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
I've noticed that when Keycloak's realm is set to user "Email as username", the method Keycloak::Internal.create_simple_user raises a Keycloak::UserLoginNotFound. Which is confusing because the user was actually created in Keycloak with email replacing the username (as expected).
Digging a bit into the code I've found that this line might be the source of the trouble.
I have some ideas on how to solve this. I will try it later when i get some free time.
cheers!
The text was updated successfully, but these errors were encountered:
arthurstomp
changed the title
Strange behavior of Keycloak::Internal.create_simple_user
Strange behavior of Keycloak::Internal.create_simple_user
May 8, 2020
Hi,
I've noticed that when Keycloak's realm is set to user "Email as username", the method
Keycloak::Internal.create_simple_user
raises aKeycloak::UserLoginNotFound
. Which is confusing because the user was actually created in Keycloak with email replacing the username (as expected).Digging a bit into the code I've found that this line might be the source of the trouble.
keycloak/lib/keycloak.rb
Line 788 in a99a608
I have some ideas on how to solve this. I will try it later when i get some free time.
cheers!
The text was updated successfully, but these errors were encountered: