Skip to main content
chan2111
Level 4
November 6, 2019
해결됨

Adobe IO-ACS JWT token

  • November 6, 2019
  • 2 답변들
  • 5997 조회

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?

이 주제는 답변이 닫혔습니다.
최고의 답변: SatheeskannaK

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!

2 답변

prasannakumarmarru
Level 4
November 6, 2019

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!

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
November 7, 2019

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