Re: UAA: How to set client_credentials token grant type to not expire

Filip Hanik

Token validity is how long a token is valid for from the time it is
created. The token will store the expiration time, that is the date when
the token expires.
so `"exp":1438209609` is actually the date in seconds when it expires.

To translate exp into a date, you would do

Date expirationDate = new Date(1438209609 * 1000l);

Here is a test case that demonstrates it

On Wed, Jul 29, 2015 at 4:46 AM, Kayode Odeyemi <dreyemi(a)> wrote:


Even when I set the value to 315569260 (this value seems to be lesser than
today though), when I decode the issued token, I get something like this

Is token validity and expiration two different things?

cf-dev mailing list

Join to automatically receive all group messages.