Regarding JWT Expiration

Avatar

Avatar

jayg26932123

Avatar

jayg26932123

jayg26932123

30-10-2019

Hi,

I am able to create a new integration for accessing Launch API using JWT-based access token.

But, the main issue is that, the JWT gets expired often and hence, I have to again copy-paste the Private Key to obtain new JWT to existing integration.

So, how to fix this issue as I am automating the creation of property, etc using Launch API, but if JWT gets expired and throws error " It is incorrectly formatted and can't be decoded", then how can we build seamless automation experience?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

brandon_pack

Employee

Avatar

brandon_pack

Employee

brandon_pack
Employee

30-10-2019

JWT or JSON Web Tokens are an open standard, so most people are using a standard or open source library along with their private key to programmatically generate a JWT tokens locally (like these here: https://jwt.io/) They then use their own generated JWT token to authenticate with adobe.io and exchange it for an API access token to use in subsequent calls.

More info: auth-methods

Answers (1)

Answers (1)

Avatar

Avatar

jayg26932123

Avatar

jayg26932123

jayg26932123

30-10-2019

Thanks a lot, this is helpful. I will generate JWT programmatically. I'll let you know if I face difficulty.