Yes, I think that writing custom authenticator, which will be able to
login you based on the Facebook token, will be the best for now. Maybe
we should have something better OOTB for this usecase, but we don't have
AFAIK.
Marek
On 12/03/17 12:49, Matthew Woolnough wrote:
Anunay, did you get any answers to these questions? I would like to
know
the answers to the posed questions also.
On 11 February 2017 at 00:09, Anunay Sinha <anunay.sinha(a)arvindinternet.com>
wrote:
> Hi
> I am using keycloak as security layer and working towards enabling social
> login.
> Social login was working and I was able to integrate Facebook with just
> configurations using the doicuments.
>
> However I have a requirement where in I need to provide an API end points
> for the same.
> Our mobile devices will be communicating to facebook via the app and will
> have the token from the facebook (Implicit Flow).
> I will then be exchanging the token with keycloak for the keycloak access
> token.
>
> I have two questions
> 1. Is this approach correct, if not why
> 2. How can I achieve this. I was thinking of writing a custom authenticator
> (Am not sure if thats the right approoach as I have to register user are
> well if FB Access token user is not available with us (We can afford to
> login user and with jsut emailID as we can onbaord new users later)
>
> I am blocked because authenticator is not working with any build from 2.4.0
> onwards
>
> Let me know if my approach is correct and if so how to proceed about it.
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user