How to refresh JWT token and access token "programmatically" | Community
Skip to main content
January 16, 2023
Solved

How to refresh JWT token and access token "programmatically"

  • January 16, 2023
  • 2 replies
  • 1888 views

Hi All,

We are using JWT acces token to call Adobe I/O for Analytics. Since access token expires after 24 hours, currently we have to manually generate it.
Can you please suggest how the token can be refreshed "programmatically".

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by FarazHusain

Hey @kumar1, you can check this thread - https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/generating-jwt-for-target-api/m-p/317995#M1641; there is a Python code shared here. This might help. 

 

2 replies

FarazHusain
Adobe Employee
FarazHusainAdobe EmployeeAccepted solution
Adobe Employee
January 18, 2023

Hey @kumar1, you can check this thread - https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/generating-jwt-for-target-api/m-p/317995#M1641; there is a Python code shared here. This might help. 

 

Level 2
February 4, 2023

Hi @kumar1
I'm facing the same issue currently, and I did all the steps per the documentation here: https://experienceleague.adobe.com/docs/experience-platform/tags/api/getting-started.html?lang=en#:~:text=Generate%20access%20tokens%20programmatically 
but the API call returns 503: Service Unavailable! 
Did you manage to solve it?