You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OAuth based on client credentials to access Fusion API

Summary:

We would like to enable OAuth to access Oracle Fusion REST API but with grant_type as client_credentials. Below approach we followed

  1. For service account from User → Service Account → OAuth 2.0 client credentials and added the OAuth.
  2. As resource in OAuth we have added Oracle Application Cloud(Fusion)
  3. using generated OCID and Secret we are calling https://<>.identity.oraclecloud.com/oauth2/v1/token
  4. But it's failing in Authentication with Error:

{    "error": "invalid_client",    "error_description": "Client authentication failed.",    "ecid": "1GUU61sUh00000000"}

5. Please note we defined Trusted application and with grant type Authorization and Refresh token it's working fine. But we want to use grant_type as client_credentials only. And after reading few article in Oracle we came to know that should be done at user level

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!