> ## 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.

# Connect PingOne with OAuth 2.0 (Multiple Companies) – StackOne Hub

> Link a PingOne account in the StackOne Hub using OAuth 2.0 (Multiple Companies). End-user guide to authorize the integration and start using PingOne actions.

> [!WARNING]
>
> PingOne authorizes Management API calls based on the roles assigned to the signing-in user, not on OAuth scopes. The user who signs in needs a suitable role (Environment Admin, Identity Data Admin, or Organization Admin). A Worker application belongs to one environment.

## Create a Worker application

Register a new **Worker** application in the PingOne Admin Console of the environment you want to connect. Worker is the only application type that can call the PingOne Management API.

**1. Create the Worker application**

Sign in to the Admin Console from the [PingOne sign-on page](https://signon.pingidentity.com/), confirm the environment in the breadcrumb at the top of the page, then open **Applications** > **Applications**.

<ul>
  <li>Click the **Add** (**+**) button in the top-right corner of the **Applications** page.</li>
  <li>**Application Name**: `StackOne Integration`</li>
  <li>**Application Type**: **Worker**</li>
  <li>Click **Save**.</li>
</ul>

![The Add Application panel showing the Application Type tiles with the Worker tile highlighted.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-worker.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=9d84e75903dddb8b61e9f11ba92b7d3c)

**2. Enable the application**

At the top of the application panel, switch the enablement toggle on. A newly created Worker application is disabled by default.

![The application panel header with the enablement toggle switched on next to the application name.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-enable.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=494ac93acabaf6089345743c27265bff)

**3. Copy the Client ID, Client Secret and Environment ID**

Open the **Overview** tab. Under **General** you will find the three values you enter when linking.

<ul>
  <li>Copy the **Environment ID** across.</li>
  <li>Copy the **Client ID** across.</li>
  <li>Click the eye icon to reveal the **Client Secret**, then copy it across.</li>
</ul>

![The application Overview tab General section showing Environment ID, Client ID, and Client Secret (values redacted).](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-creds.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=4f87850e5fb29f3e2ae6fd9cfff8c2bc)

**4. Select the region**

Go to **Settings > Environment Properties** and read the **Region** value, then select the matching option in **Region**.

<ul>
  <li>Example: a **Region** of `North America (US)` means you select **North America**</li>
</ul>

![The Environment Properties page with the Region field](https://mintcdn.com/stackone-60/lr5NNUCg8a6F9_0d/connectors/pingone/images/oauth2_client_credentials-config-region.png?fit=max\&auto=format\&n=lr5NNUCg8a6F9_0d\&q=85\&s=08fb5948fdd05c166821c3fd67f3b4dd)

## Configure OIDC settings

Open the **Configuration** tab and click the pencil (edit) icon in the top-right to edit the **OIDC Settings**.

**1. Set the response type and grant types**

Under **OIDC Settings**:

<ul>
  <li>**Response Type**: check **Code**</li>
  <li>**Grant Type**: check **Authorization Code** and **Refresh Token**</li>
  <li>**PKCE Enforcement**: leave as **OPTIONAL**</li>
</ul>

![The OIDC Settings edit panel showing Response Type set to Code and Grant Type with Authorization Code and Refresh Token checked.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-grants.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=d03aeefed16c7d5f9f805c001d037a18)

**2. Set the redirect URI and token authentication method**

Still in the **OIDC Settings** edit panel:

<ul>
  <li>Under **Redirect URIs**, click **+ Add** and enter the **Callback URL** StackOne shows you.</li>
  <li>**Token Endpoint Authentication Method**: **Client Secret Post**</li>
  <li>Click **Save**.</li>
</ul>

![The OIDC Settings edit panel showing the Redirect URIs field with the StackOne callback URL and Token Endpoint Authentication Method set to Client Secret Post.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-redirect.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=8a322daab7d5e29e6e288b63ec74dba4)

## Restrict application access and sign in

Open the **Access** tab, click the pencil (edit) icon and enable **Admin Only Access**. Then sign in with a PingOne user that holds an admin role for the environment.

![The application Access tab showing Admin Only Access and Group Membership Policy.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-access.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=c2996e68bf4d715e6fff695e640332c9)

## Assign an Admin Role to the Signing-In User

With the Authorization Code grant, PingOne authorizes Management API calls based on the signing-in user's roles, not the application's roles.

**1. Grant an admin role**

Identify the PingOne user who will sign in during the StackOne connection flow.

<ul>
  <li>In the left navigation, go to **Directory** and click **Users**.</li>
  <li>Select the account you plan to use.</li>
  <li>Open the **Roles** tab on the user panel.</li>
  <li>Locate the role you want and assign it at the appropriate scope.</li>
  <li>For full Management API coverage — assign **Organization Admin** at the organization scope, or **Environment Admin** at the environment scope. Either covers all actions.</li>
  <li>For identity-only access — assign **Identity Data Admin** at the environment scope. This covers users, groups, populations, applications, and MFA devices, but not sign-on policies, password policies, identity providers, or certificates.</li>
</ul>

![The user Roles tab showing the Environment Admin, Identity Data Admin, and Organization Admin roles.](https://mintcdn.com/stackone-60/p0ZopJZyU1EN9bvp/connectors/pingone/images/oauth2-setup-roles.png?fit=max\&auto=format\&n=p0ZopJZyU1EN9bvp\&q=85\&s=a00e94c06354cefa8f17600b2c258d6b)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/pingone/guides/webhook-setup.md)
>
> Configure receiving Events for PingOne into StackOne.


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