[keycloak-user] token expired exception
Toan Nguyen Xuan
xuantoan.nguyen at vtc.vn
Wed Mar 26 23:11:11 EDT 2014
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
More information about the keycloak-user
mailing list