REST Adapter With OAUTH2 Policies Are Not Persisting The Access Token Expires_in Value
(Doc ID 2890658.1)
Last updated on AUGUST 23, 2022
Applies to:Oracle Web Services Manager - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Implement OAUTH2.0 with Azure Active Directory as the authentication provider.
Use a REST adapter as an OSB business service with security policies (oracle/http_oauth2_token_client_policy and oracle/oauth2_config_client_policy) attached.
This setup successfully invokes the token endpoint, fetches the token and passes it to the resource endpoint in header.
However, the token is being fetched for all consecutive calls, which means the expires_in parameter in the token response is not being considered for consecutive calls.
The token should be persisting during the Access Token EXPIRES_IN parameter value.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document