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

Artjom König koenig at appcube.info
Thu Sep 11 04:39:15 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140911/5fc38c19/attachment.html 


More information about the keycloak-user mailing list