> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Oracle Fusion OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Oracle Fusion in StackOne to allow users to link their accounts.

> [!WARNING]
>
> Administrator access to Oracle Cloud Infrastructure Identity and Access Management (OCI IAM) is required to create OAuth applications.

## Register a Confidential Application

Create a confidential application in Oracle Identity Cloud Service configured for the authorization code grant.

**1. Access the Identity Domain**

In the Oracle Cloud Console, navigate to **Identity & Security** > **Domains** and select your identity domain.

<ul>
  <li>Copy the **Domain URL** — this is your **Identity Cloud Service URL** (format `https://idcs-{identifier}.identity.oraclecloud.com`). Store it securely for use later.</li>
</ul>

**2. 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**.

**3. Configure the Authorization Code Grant**

In the **Client configuration** section, select **Configure this application as a client now**.

<ul>
  <li>Under **Allowed grant types**, select **Authorization code** and **Refresh token**.</li>
  <li>Set the **Redirect URL** to the **Callback URL** from your Connector Profile.</li>
  <li>Under **Client type**, ensure **Confidential** is selected.</li>
</ul>

**4. Configure Resource Access and Scopes**

Scroll to **Token issuance policy** and add the required scopes.

<ul>
  <li>Click **Add scope** under **Resources** and select your Fusion Applications resource.</li>
  <li>Ensure the scope grants consumer access (typically ending in `urn:opc:resource:consumer::all`).</li>
  <li>`offline_access` is requested automatically so a refresh token is issued.</li>
  <li>Copy the configured scope (format `urn:opc:resource:fa:instanceid={instance_id}urn:opc:resource:consumer::all`). Store it securely for use later. Do not append `offline_access`, it is requested automatically.</li>
</ul>

**5. 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.

## Find Your REST Server URL

Sign in to your [Oracle Cloud account](https://cloud.oracle.com). The REST Server URL is the base URL of your Oracle Fusion HCM instance.

**1. Copy the Instance URL**

The URL is visible in your browser address bar when logged into Oracle Fusion HCM.

<ul>
  <li>Format: `https://servername.fa.{datacenter}.oraclecloud.com`</li>
  <li>Example: `https://mycompany.fa.us2.oraclecloud.com`</li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/oraclefusion/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.