Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe IO-ACS JWT token

Avatar

Level 4

The access token generated using JWT token expires in 15min. Is there a way to increase the expiry time? Also, the JWT token is generated using a private key, id there a way in ACS to trust the IP to prevent regenerating the JWT token?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Just to add you won't be able to extend the expiry of the tokens generated using Adobe I/O. Rather you can use the JWT libraries (https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/JWT.md) to generate token automatically when it's expires.

Thanks!

View solution in original post

0 Replies

Avatar

Level 4

Hello,

I am not sure why JWT expires in 15 min. By default Adobe IO JWT token expires in 24 hours from the time of issue.

More details discussed in JWT access token: How can I change the expiration?

Also ACS does not trust IPs to makeREST call, you will need JWT token and the recommendation is to have a short time expiry for the same.

More details on the parameters (includingf expiration date)- auth-methods

Thanks!

Avatar

Correct answer by
Community Advisor

Hi,

Just to add you won't be able to extend the expiry of the tokens generated using Adobe I/O. Rather you can use the JWT libraries (https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/JWT.md) to generate token automatically when it's expires.

Thanks!