[keycloak-user] token expired exception (Stian Thorgersen)

Stian Thorgersen stian at redhat.com
Fri Mar 28 05:39:15 EDT 2014


To get started with the Keycloak project you should start out by looking at our documentation, screen-casts and most of all the demos.

If you have a JavaEE application, or a JavaScript application, you should find it quite easy to get started by looking at the demos. Once you have tried Keycloak and have a specific question about Keycloak let me know and I can help you out.

----- Original Message -----
> From: "Toan Nguyen Xuan" <xuantoan.nguyen at vtc.vn>
> To: keycloak-user at lists.jboss.org
> Sent: Friday, 28 March, 2014 2:36:32 AM
> Subject: Re: [keycloak-user] token expired exception (Stian Thorgersen)
> 
> Hi,
>   The current I have not try keycloak with my project. I try reseasy 3.0.6
>   that has simple oauth2 implement and I can't control expired key in my
>   project. Can you show me how to solve this problem by using keyloak? I
>   install keycloak successfully but I don't know start where. If this is
>   solved I will use keycloak in my project.
> Many thanks before.
> 
> -----Original Message-----
> From: Stian Thorgersen [mailto:stian at redhat.com]
> Sent: Wednesday, March 26, 2014 4:20 PM
> To: Toan Nguyen Xuan
> Cc: keycloak-user at lists.jboss.org
> Subject: Re: [keycloak-user] token expired exception
> 
> Are you using one of our adapters?
> 
> The token expiration can be controlled through the admin console, but
> generally a token should have a relatively short expiration (5-10 min). Then
> you have a refresh token with a long expiration (days) that can be used to
> retrieve a new token. Prior to doing a request you should check the
> expiration time and retrieve a new token if needed.
> 
> ----- Original Message -----
> > From: "Toan Nguyen Xuan" <xuantoan.nguyen at vtc.vn>
> > To: keycloak-user at lists.jboss.org
> > Sent: Wednesday, 26 March, 2014 8:24:58 AM
> > Subject: [keycloak-user] token expired exception
> > 
> > 
> > 
> > Hi you,
> > 
> > I just use keycloak for authen application to access my resource, but
> > I don’t know control token key life time. One app will not access my
> > resource when token key is expired, this app does not know when reinit
> > token key. I want to catch Token key expired to return apps. Please help
> > me.
> > 
> > Have any extend keylocak library? Goal of Keyloak is very good, I like
> > this.
> > 
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> 
> 
> _______________________________________________
> 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