How can I refresh OAuth 2.0 token before It expire | Adobe Higher Education
Skip to main content
Level 2
January 8, 2019
解決済み

How can I refresh OAuth 2.0 token before It expire

  • January 8, 2019
  • 5 の返信
  • 7359 ビュー

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

このトピックへの返信は締め切られました。
ベストアンサー Brian_Kent_Watson

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.

5 の返信

Brian_Kent_Watson
Adobe Employee
Adobe Employee
January 29, 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.

ltaparia作成者
Level 2
March 18, 2019

Hi,

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

regards

Lalit

Brian_Kent_Watson
Adobe Employee
Adobe Employee
March 19, 2019
ltaparia作成者
Level 2
March 28, 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

Brian_Kent_Watson
Adobe Employee
Adobe Employee
March 28, 2019

See my comment above.