How can I refresh OAuth 2.0 token before It expire

Avatar

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile
ltaparia
Level 2

08-01-2019

Hi,

I am accessing Omniture report data using API 2.0 and doing it successfully. I want to schedule this API call every week for a regular reporting. But OAuth 2.0 token expires after 8 hours. How can I make sure that OAuth regenerate authentication token itself and verify before API call? I am using Postman for it.

Please let me know.

regards

Lalit

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
Brian_Kent_Watson
Employee

29-01-2019

Refresh token flow is not supported by Adobe Analytics V2 APIs under Adobe IO.

In the context of Adobe Analytics, Adobe IO's oAuth authentication should be used by applications that authenticate a human user for the duration of a single session. It is not suitable for use by applications that need "headless" server-to-server, service-token, or long-running authentications.

In Q1 2019 (coming very soon), Analytics will support JWT authentication for situations that require server-to-server, service-token, or other long-running authentications.

We're working to update the Analytics documentation to reflect these specific ways in which the Analytics authentication under Adobe IO differs from the more general Adobe IO authentication mechanisms.

Answers (4)

Answers (4)

Avatar

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
Brian_Kent_Watson
Employee

28-03-2019

See my comment above.

Avatar

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile
ltaparia
Level 2

28-03-2019

Hi, That is not my requirement. As mentioned in one of your last comment "In Q1 2019 (coming very soon), Analytics will support JWT authentication for situations that require server-to-server, service-token, or other long-running authentications."

It's almost Q1 2019, Do we have documentation ready?

regards

Lalit

Avatar

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
Brian_Kent_Watson
Employee

Likes

18 likes

Total Posts

44 posts

Correct reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
Brian_Kent_Watson
Employee

19-03-2019

Avatar

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile
ltaparia
Level 2

18-03-2019

Hi,

Can you please share documentation for above? I would like to use it for Analytics end point.

regards

Lalit