Skip to main content
chan2111
Level 4
Nov 6, 2019 1:30 PM UTC
Solved

Adobe IO-ACS JWT token

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Nov 7, 2019 4:14 AM UTC

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!

Thanks, Sathees

2 replies

SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Nov 7, 2019 4:14 AM UTC

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!

Translate
Thanks, Sathees
prasannakumarmarru
Level 4
Nov 6, 2019 6:15 PM UTC

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!

Translate