Adobe Analytics 2.0 API authentication flow | Community
Skip to main content
August 1, 2020
Question

Adobe Analytics 2.0 API authentication flow

  • August 1, 2020
  • 1 reply
  • 1072 views

I note that in the OAuth documentation that: 

The default expiry of access tokens is 24 hours. You can refresh an access token without prompting the user for permission again even if a user is not present. The refresh token, by default, expires in 2 weeks.

Is there a way to change the default expiration for the refresh token? In addition, is there any way to request a new refresh token without re-authenticating? I'm wondering if there is any way for an application to use the OAuth flow for longer than 2 weeks or if there is simply no way to use OAuth if the application should persist for more than 2 weeks.  In addition, I don't see any information about how long the JWT authentication persists for.  How long does JWT authentication persist for?

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

1 reply

Adobe Employee
August 2, 2020

Hi @clownfish2 ,

You will need to programmatically refresh these tokens through some custom code. There isn't a standard code or script available to refresh the tokens. Further, the expiration of JWT token can be set to 24 hours, at max, and the expiry of the access token is 24 hours, by default and it can't be changed.

Thank you!

August 3, 2020
Hi @isinha - that's not my question. We're fine programatically refreshing ACCESS TOKENS. However, I don't see any documentation on refreshing the REFRESH TOKENS. Can you please link me to documentation on how to refresh refresh tokens and how many times we can refresh refresh tokens?