Expand my Community achievements bar.

SOLVED

Regarding JWT Expiration

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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

Avatar

Level 2

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