[keycloak-user] AUTH_SESSION_ID

Dmitry Telegin dt at acutus.pro
Mon Aug 6 07:41:09 EDT 2018


Hi Priti,

Seem like AUTH_SESSION_ID is something internal to Keycloak and is not passed by default to the target web application.

However, there are at least two ways to retrieve it:
1. using Account REST API;
2. by including into JWT token using e.g. Script Mapper.

Good luck!
Dmitry

On Thu, 2018-08-02 at 10:53 +0530, priti guleria wrote:
> Thanks for the you help Dmitry  .
> 
> Here is the setup :
> - jaa ee application running on wildfly 10
> - keycloak 3.4.3
> - keycloak-wildfly adapter
> 
> > On Thu, Aug 2, 2018 at 5:20 AM Dmitry Telegin <dt at acutus.pro> wrote:
> > Hi Priti,
> > 
> > What's your setup? What kind of application is it, what Keycloak
> > adapter do you use?
> > 
> > Cheers,
> > Dmitry Telegin
> > CTO, Acutus s.r.o.
> > Keycloak Consulting and Training
> > 
> > Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
> > +42 (022) 888-30-71
> > E-mail: info at acutus.pro
> > 
> > On Wed, 2018-08-01 at 23:41 +0530, priti guleria wrote:
> > > Hi All,
> > > 
> > > Can anyne help me with how to get AUTH_SESSION_ID from Keycloak ?
> > > 
> > > Thanks in advance.
> > > 
> > > 
> > > Priti
> > > _______________________________________________
> > > 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