[keycloak-user] Keycloak session attribute

Stian Thorgersen stian at redhat.com
Tue Mar 31 02:16:58 EDT 2015


If all you need is to send userid to a external server just implement a event listener. Not sure why that would require something like a http session

----- Original Message -----
> From: "Chen Keong Yap" <chenkeong.yap at izeno.com>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Monday, 30 March, 2015 4:19:24 PM
> Subject: Re: [keycloak-user] Keycloak session attribute
> 
> Hi,
> 
> Ok. We have a requirement to encrypt userid in keycloak using random key
> and send it to a third party server for authentication. The random key must
> be stored in a session so that third party server can decrypt the user id.
> 
> I just wondering is there any object we can use in keycloak similar to http
> session?
> On Mar 30, 2015 10:10 PM, "Stian Thorgersen" <stian at redhat.com> wrote:
> 
> > HTTP session? Keycloak doesn't use HTTP sessions. Nor do we currently
> > provide access to HTTP request details in templates.
> >
> > If you explain what you're trying to achieve rather than how you're trying
> > to do it we might be more able to help.
> >
> > ----- Original Message -----
> > > From: "Chen Keong Yap" <chenkeong.yap at izeno.com>
> > > To: keycloak-user at lists.jboss.org
> > > Sent: Monday, 30 March, 2015 4:05:32 PM
> > > Subject: [keycloak-user] Keycloak session attribute
> > >
> > >
> > >
> > > Hi,
> > >
> > > I was trying to set a session attribute using custom filter and retrieve
> > it
> > > from login.ftl with no success and the session attribute value is null.
> > Any
> > > advice?
> > >
> > > _______________________________________________
> > > 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