Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adobe Analytics 2.0 API authentication flow

Avatar

Avatar
Level 1
clownfish2
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
clownfish2
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
clownfish2
Level 1

31-07-2020

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?

Adobe Analytics API oauth

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

153 likes

Total Posts

317 posts

Correct Reply

102 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Affirm 100
Employee
ishans52004352
Employee

Likes

153 likes

Total Posts

317 posts

Correct Reply

102 solutions
Top badges earned
Affirm 100
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ishans52004352
Employee

02-08-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!