[keycloak-user] Transferring social login from mobile apps to Keycloak

Stian Thorgersen stian at redhat.com
Thu Sep 11 06:11:38 EDT 2014


Afraid that's not possible in 1.0.final. I've just added it for you, but you'll have to build Keycloak from source (or wait for 1.1.alpha to be released).

----- Original Message -----
> From: "Artjom König" <koenig at appcube.info>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Thursday, 11 September, 2014 10:39:15 AM
> Subject: Re: [keycloak-user] Transferring social login from mobile apps to Keycloak
> 
> Hi Stian,
> 
> thank you for the reply!
> 
> How can I add a social link to an existing user via the Keycloak REST API?
> 
> Cheers,
> Artjom
> 
> 2014-09-11 10:36 GMT+02:00 Stian Thorgersen <stian at redhat.com>:
> 
> > Hi,
> >
> > I'm afraid this doesn't work currently, but it's a use-case that we'd like
> > to add in the future so please create a jira feature request for it.
> >
> > In the mean time you could archive this by either:
> >
> > 1. Create a jax-rs application of your own that uses the Keycloak admin
> > client interface to register the user and create the social-link
> > 2. Extend KeycloakApplication to add a jax-rs class that can handle this -
> > see project-integrations/aerogear-ups for an example on how to do this
> >
> > ----- Original Message -----
> > > From: "Artjom König" <koenig at appcube.info>
> > > To: keycloak-user at lists.jboss.org
> > > Sent: Monday, 8 September, 2014 4:49:23 PM
> > > Subject: [keycloak-user] Transferring social login from mobile apps to
> >       Keycloak
> > >
> > > Hi,
> > >
> > > I would like to use Keycloak as a backend security and user management
> > > solution for my native apps (Android and iOS).
> > >
> > > In my native app, the user can register/login with Facebook/Google+
> > using the
> > > corresponding native SDK. After the login I get all desired user data and
> > > even the access token.
> > >
> > > Then I would like to create a user in Keycloak via the REST API with this
> > > social account. It should result in the same user data, like using the
> > > social login of the Keycloak's web login.
> > >
> > > Any ideas, how to get this done?
> > >
> > > Cheers,
> > > Artjom
> > >
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> 
> 
> 
> --
> *Dipl.-Inf. Artjom König*
> Geschäftsführer
> 
> *Tel: +49 228 286 346 78*
> *Fax: **+49 228 286 346 63*
> *Web:* *appcube.info <http://www.appcube.info>*
> 
> *Skype: koenig.appcube*
> *XING-Profil <https://www.xing.com/profile/Artjom_Koenig>*
> 
> *Appcube GbR*
> Alexander Thurn & Artjom König
> Markt 39
> 53111 Bonn
> 



More information about the keycloak-user mailing list