[keycloak-user] Facebook login + Remember me

Mariusz Chruscielewski - Info.nl mariusz at info.nl
Thu Dec 8 07:32:22 EST 2016


Thanks for your answer, I will try to implement that.

Regards
Mariusz

-----Original Message-----
From: Marek Posolda [mailto:mposolda at redhat.com] 
Sent: donderdag 8 december 2016 13:29
To: Mariusz Chruscielewski - Info.nl <mariusz at info.nl>; keycloak-user at lists.jboss.org
Subject: Re: [keycloak-user] Facebook login + Remember me

RememberMe is used just for the Keycloak own login form.

I can see the possibility that:
- You will create authenticator implementation, which will setup some cookie once you successfully login with Facebook. You will need to use this authenticator in post-broker login flow, which will be setup for Facebook.

- Then you will create another authenticator implementation, which will be used in "browser" flow instead before the login form is shown. This authenticator will check for the existence of the cookie above and automatically redirects to Facebook if present.

Marek


On 07/12/16 17:32, Mariusz Chruscielewski - Info.nl wrote:
> Hi, is it possible to set remember me cookie and identity cookie from Keycloak when we use Facebook Login Provider?
>
> I did debug, and I found that in AuthenticationManager.java#createLoginCookie check:
>
> if(session.isRememberMe())  returns false.
>
> Is there a way to setup this somewhere (remember all facebook logins?)
>
> I tried to create my own custom Authenticator but I can't set remember me from there. Is there any way to build that?
>
> Thanks in advance
> Mariusz Chruścielewski
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user





More information about the keycloak-user mailing list