Register a Confidential Application
Create a confidential application in Oracle Identity Cloud Service configured for the authorization code grant.
Access the Identity Domain
In the Oracle Cloud Console, navigate to Identity & Security > Domains and select your identity domain.
Create a Confidential Application
Click Applications in the left menu, then click Add application and select Confidential Application. Enter a name (e.g. “StackOne Integration”) and click Next.
Configure the Authorization Code Grant
In the Client configuration section, select Configure this application as a client now.
- Under Allowed grant types, select Authorization code and Refresh token
- Set the Redirect URL to exactly:
https://api.stackone.com/connect/oauth2/oraclehcm/callback - Under Client type, ensure Confidential is selected
Configure Resource Access and Scopes
Scroll to Token issuance policy and add the required scopes.
- Click Add scope under Resources and select your Fusion Applications resource
- Ensure the scope grants consumer access (typically ending in
urn:opc:resource:consumer::all) offline_accessis requested automatically so a refresh token is issued
Complete and Activate
Click Next through the remaining sections, then click Finish. After creation, click Activate to enable the application, then copy the Client ID and Client Secret from the General Information section.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Oracle Fusion HCM:Open the connector
Choose actions and events
- Click Add Profile.
- If the connector offers more than one authentication method, set the Auth Method filter to OAuth 2.0 (Authorization Code).
- Select the actions, and any events, to enable for this Connector Profile.
- Click Continue.
Set up authentication
- Select Authentication Type as OAuth 2.0 (Authorization Code).
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Click Create Profile.