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(a)vtc.vn>
To: keycloak-user(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user