[keycloak-user] "Remember Me" feature on Social Login

Stian Thorgersen stian at redhat.com
Tue Aug 12 11:27:01 EDT 2014


The login form is:

  ./forms/common-themes/src/main/resources/theme/login/base/login.ftl

It's FreeMarker templates. FIY as we're close to releasing 1.0.final we can't add this to master until after.

----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Tuesday, 12 August, 2014 2:49:19 PM
> Subject: Re: [keycloak-user] "Remember Me" feature on Social Login
> 
> So you're saying I have to change the HTML pages to make it submit a form?
> 
> I really don't understand how the interface works on Keycloak, could you
> tell me the name of the file that handles the login page, if I understood
> correctly. And I'll study it on from there.
> 
> 
> On Tue, Aug 12, 2014 at 10:23 AM, Stian Thorgersen <stian at redhat.com> wrote:
> 
> > Basically what's needed is:
> >
> >   * Add a remember me option for social - this is non-trivial as atm
> > social logins are links so needs to be changed to submitting a form
> >   * Set the login cookie in SocialResource.redirectToProviderAuth if this
> > remember me check-box is set
> >
> > Reading the cookie is already handled, as it should set the same cookie as
> > the "regular" login does.
> >
> > If you'd like to do this that would be great :)
> >
> > ----- Original Message -----
> > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > To: "Stian Thorgersen" <stian at redhat.com>
> > > Cc: keycloak-user at lists.jboss.org
> > > Sent: Tuesday, 12 August, 2014 1:47:28 PM
> > > Subject: Re: [keycloak-user] "Remember Me" feature on Social Login
> > >
> > > I was wondering, could you give me some pointers so I could try and
> > > implement this myself? I was looking at the mechanics on the already
> > > implemented feature, for username + password login, and I saw that I have
> > > to set a cookie, which I'd have todo on
> > > *SocialResource.redirectToProviderAuth*
> > >
> > > But I couldn't figure out how it uses the remember me cookie to evaluate
> > > and authenticate the user on the next access. I'm looking into it now,
> > but
> > > anything you can help me with would be great, if it interests you.
> > >
> > >
> > > On Mon, Aug 11, 2014 at 5:24 AM, Stian Thorgersen <stian at redhat.com>
> > wrote:
> > >
> > > > It won't be until after 1.0.final has been released, but we'll aim to
> > add
> > > > it for 1.1.
> > > >
> > > > JIRA: https://issues.jboss.org/browse/KEYCLOAK-332
> > > >
> > > > ----- Original Message -----
> > > > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > > > To: "Stian Thorgersen" <stian at redhat.com>
> > > > > Cc: keycloak-user at lists.jboss.org
> > > > > Sent: Tuesday, 5 August, 2014 12:38:33 PM
> > > > > Subject: Re: [keycloak-user] "Remember Me" feature on Social Login
> > > > >
> > > > > Hi, just wondering, is there any prediction on when this feature
> > will be
> > > > > implemented?
> > > > >
> > > > >
> > > > > On Tue, Jul 29, 2014 at 8:55 AM, Stian Thorgersen <stian at redhat.com>
> > > > wrote:
> > > > >
> > > > > > It's planned just not implemented yet.
> > > > > >
> > > > > > One of the reasons was that we couldn't figure out an elegant
> > placement
> > > > > > for the remember-me checkbox.
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> > > > > > > To: keycloak-user at lists.jboss.org
> > > > > > > Sent: Tuesday, 29 July, 2014 12:15:15 PM
> > > > > > > Subject: [keycloak-user] "Remember Me" feature on Social Login
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I know this doesn't exist now, but I was wondering if it is
> > something
> > > > > > that is
> > > > > > > planned to be implemented, or if there's a particular reason why
> > it
> > > > > > isn't.
> > > > > > >
> > > > > > > Thanks!
> > > > > > >
> > > > > > > --
> > > > > > > Rodrigo Sasaki
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > keycloak-user mailing list
> > > > > > > keycloak-user at lists.jboss.org
> > > > > > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Rodrigo Sasaki
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Rodrigo Sasaki
> > >
> >
> 
> 
> 
> --
> Rodrigo Sasaki
> 


More information about the keycloak-user mailing list