> ## 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 HCM OAuth 2.0 (Authorization Code) connector profile – StackOne setup guide

> Set up the OAuth 2.0 (Authorization Code) connector profile for Oracle Fusion HCM in StackOne. One-time admin setup required before your users can link Oracle Fusion HCM accounts via Hub.

<Warning>Administrator access to Oracle Cloud Infrastructure Identity and Access Management (OCI IAM) is required to create OAuth applications.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Register a Confidential Application</h2>

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

  <Steps>
    <Step title="Access the Identity Domain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the Oracle Cloud Console, navigate to <strong>Identity & Security</strong> > <strong>Domains</strong> and select your identity domain.</p>
      </div>
    </Step>

    <Step title="Create a Confidential Application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Applications</strong> in the left menu, then click <strong>Add application</strong> and select <strong>Confidential Application</strong>. Enter a name (e.g. "StackOne Integration") and click <strong>Next</strong>.</p>
      </div>
    </Step>

    <Step title="Configure the Authorization Code Grant">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>Client configuration</strong> section, select <strong>Configure this application as a client now</strong>.</p>

        <ul>
          <li>Under <strong>Allowed grant types</strong>, select <strong>Authorization code</strong> and <strong>Refresh token</strong></li>
          <li>Set the <strong>Redirect URL</strong> to exactly: `https://api.stackone.com/connect/oauth2/oraclehcm/callback`</li>
          <li>Under <strong>Client type</strong>, ensure <strong>Confidential</strong> is selected</li>
        </ul>
      </div>
    </Step>

    <Step title="Configure Resource Access and Scopes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Scroll to <strong>Token issuance policy</strong> and add the required scopes.</p>

        <ul>
          <li>Click <strong>Add scope</strong> under <strong>Resources</strong> 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>
        </ul>
      </div>
    </Step>

    <Step title="Complete and Activate">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Next</strong> through the remaining sections, then click <strong>Finish</strong>. After creation, click <strong>Activate</strong> to enable the application, then copy the <strong>Client ID</strong> and <strong>Client Secret</strong> from the <strong>General Information</strong> section.</p>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Oracle Fusion HCM</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>Oracle Fusion HCM</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0 (Authorization Code)</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Client ID</strong></li>
          <li><strong>Client Secret</strong></li>
        </ul>
      </li>

      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>Oracle Fusion HCM</strong>.
