[keycloak-user] Duplicate user when logging in with social link

Rodrigo Sasaki rodrigopsasaki at gmail.com
Fri Jul 11 15:46:31 EDT 2014


I apologize, please disconsider the previous email, it was an error caused
by us here, nothing regarding keycloak


On Fri, Jul 11, 2014 at 2:43 PM, Rodrigo Sasaki <rodrigopsasaki at gmail.com>
wrote:

> I created a keycloak user, and then I created social links for it on
> facebook and google, on the account manager at /auth/realms/{realm}/account
>
> After that I tried logging in with the user via the social link (google),
> and it logged in but had no roles associated with it.
>
> When I looked into it, I saw that another user was created, and I wasn't
> logged in with the user I wanted. I have now 2 users with the same social
> link.
>
> When I try to login again with the social link, I get this exception:
>
> java.lang.IllegalStateException: More results found for
> socialProvider=google, socialUserId=108513709823832858822,
> results=[org.keycloak.models.jpa.entities.UserEntity at 2a8bbbe,
> org.keycloak.models.jpa.entities.UserEntity at 13bdb84f]
>
> I am using the beta-2 version here, is this a known problem?
>
> --
> Rodrigo Sasaki
>



-- 
Rodrigo Sasaki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140711/73cb7b60/attachment-0001.html 


More information about the keycloak-user mailing list