Regarding JWT Expiration | Community
Skip to main content
Level 2
Oct 30, 2019 12:23 PM UTC
Solved

Regarding JWT Expiration

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
brandon_pack
brandon_packAccepted solution
Employee
Oct 31, 2019 2:09 AM UTC

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

2 replies

Level 2
Oct 31, 2019 5:47 AM UTC

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

Translate
brandon_pack
brandon_packAccepted solution
Employee
Oct 31, 2019 2:09 AM UTC

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

Translate