Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

How can I refresh OAuth 2.0 token before It expire

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

5 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Level 2

Hi,

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

regards

Lalit

Avatar

Level 2

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