[keycloak-user] Duplicate user when logging in with social link
Bill Burke
bburke at redhat.com
Fri Jul 11 15:47:47 EDT 2014
My favorite kinds of bugs! :)
On 7/11/2014 3:46 PM, Rodrigo Sasaki wrote:
> 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 <mailto: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
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-user
mailing list