Skip Navigation
Expand
Oracle Policy Automation REST API OAuth2 token expiring
Answer ID 10399   |   Last Review Date 09/28/2022

What is the validity time or expire duration of the access token generated? 

Environment:

Intelligent Advisor 

Resolution:

The Intelligent Advisor REST API requires an OAuth2 token in the header request when invoked.  If you are not using Oracle Identity Cloud Service or IDCS, the OAuth tokens will expire after 30 minutes of inactivity.  After 30 minutes of inactivity, you will need to get a new token.  This is the same time period that an interview session times out due to inactivity.

If the token is in constant use (i.e. at least once in every 30 minutes), it will not timeout.