How can I refresh OAuth 2.0 token before It expire

Avatar

Avatar

ltaparia

Avatar

ltaparia

ltaparia

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

Brian_Kent_Watson

Employee

Avatar

Brian_Kent_Watson

Employee

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

Brian_Kent_Watson

Employee

Avatar

Brian_Kent_Watson

Employee

Brian_Kent_Watson
Employee

28-03-2019

See my comment above.

Avatar

Avatar

ltaparia

Avatar

ltaparia

ltaparia

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

Brian_Kent_Watson

Employee

Avatar

Brian_Kent_Watson

Employee

Brian_Kent_Watson
Employee

19-03-2019

Avatar

Avatar

ltaparia

Avatar

ltaparia

ltaparia

18-03-2019

Hi,

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

regards

Lalit