Oracle OCI - OAuth Configuration Manual

| 2 min read

1.      Navigate to https://cloud.oracle.com and inputting your tenancy name. Then, log in to the OCI platform after providing the credentials.

2.      To access the Oracle IDCS console, proceed to "Identity & Security" and click on **"Domains."

Pasted image 20260430104258

3.       Open "OracleIdentityCloudService"

Pasted image 20260430104311

4.      Click on Integrated Applications to create OAuth Confidential application.
Pasted image 20260430104319

5.      Click on “Add Application” and “Choose Confidential Application” and click on Launch Workflow.

Pasted image 20260430104330
6. In Details tab enter name of application as Oracle <Your Env Name>\ and click Next

Pasted image 20260430115417

  1. Next click on Configure this applications as a resource server now and select **“**Access Token Expiration” with default values and Select Allow Refresh Tokens.

In the Primary Audience you need to add your respective OIC base URL without “https://”

E.g. - aoacsuatoic-axei3g1fgrn0-si.integration.ap-singapore-1.ocp.oraclecloud.com:443

Pasted image 20260430115454

  1. Next Choose "Configure this application as a client now" and make below selections in Allowed Grant Types section.

Client Credentials”****"JWT Assertion" 
“Refresh Tokens”
Pasted image 20260430115702
9. Then scroll down and in Token Issuance Policy and choose "Specific" Authorized Resources radio button then click on "+Add Resource" button  and then click on “Add Scope” to add Prod OIC Service resource in scope.
Pasted image 20260430115709
10.   In Add Scope Section , Search for Description with Integration Cloud Service and choose the Production Instance. Click on the drop down on the right and choose resource:consumer:all URL resource .Click on "Add" button to complete the scope selection.

Pasted image 20260430115716

  1. Next,  Leave rest two tabs i.e. Web Tier Policy and Authorization tabs with default value and click on "Finish" button to complete the creation of the confidential application.

  2. Activate confidential application by clicking on the "Activate" button on the top-right corner and click on the "OK" button on the alert shown. This will show the message in the green bar that the application has been activated.

Pasted image 20260430115722
Pasted image 20260430115727

13.   In "General Information" section Client ID is given. To show Client Secret click on "Show Secret" button. Note down these values which will be required to share at a later stage.

Pasted image 20260430115734

14.   Next , Navigate to Overview and Click on "Oracle Cloud Services"  and select the Production OIC instance. Open OIC service by clicking on the production environment service name.

Pasted image 20260430115739

15.   Go to "Application Roles" tab and click on menu icon on the right of "ServiceDeveloper" role and choose option "Assign Applications" and “Manage”

16.   In the Manage Application Window , Click on Show Available Applications and search for Oracle <Your Env Name> Application , select and click on Assign

Pasted image 20260430115746
17.   In "Assign Applications" window search confidential application created in previous steps, select the application and click on "OK".
Pasted image 20260430115812

We've successfully wrapped up the Oracle IAM configuration. We've generated a fresh confidential application for the client ,this application has been activated and is ready for action.

1      Important Info To Be Shared By Admin To Caller

1.      Please Share the below information once all are configured to the caller.

2.      Oracle identity Cloud Service URL – Navigate to Overview Section and click on Copy on the Domain URL.
Pasted image 20260430115831
Get the below information by opening the confidential application that was created

3.      Client ID

4.      Client secret

5.      Scope

6.      Access Token URL – Please follow the below syntax.
https://OracleIdentityCloudService Base URL/oauth2/v1/token

7.      Please note that Choose Client Authentication value should be Send as Basic Auth Header