Skip to main content
PingOne authorizes Management API calls based on the roles assigned to the signing-in user, not on OAuth scopes. The user who signs in during the StackOne connection needs a suitable role (Environment Admin, Identity Data Admin, or Organization Admin).

Create a Worker Application

Register a new Worker application in the PingOne Admin Console. Worker is the only application type that can call the PingOne Management API on StackOne’s behalf.

1

Create the Worker application

Sign in to the Admin Console from the PingOne sign-on page, then confirm the environment shown in the breadcrumb at the top of the page is the one you want to connect. In the left navigation, open Applications > Applications.

  • Click the Add (+) button in the top-right corner of the Applications page to open the Add Application panel.
  • Application Name: StackOne Integration
  • Application Type: Worker
  • Click Save.
The Add Application panel showing the Application Type tiles with the Worker tile highlighted.
2

Enable the application

At the top of the application panel, next to the application name, switch the enablement toggle on. It turns blue when the application is enabled. A newly created Worker application is disabled by default.

The application panel header with the enablement toggle switched on next to the application name.
3

Copy the Client ID, Client Secret, and Environment ID

Open the Overview tab. Under General (App Type Worker (OpenID Connect)) you will find the three values StackOne needs:

  • Copy the Environment ID into your Connector Profile.
  • Copy the Client ID into your Connector Profile.
  • Click the eye icon to reveal the Client Secret.
  • Click the copy icon.
  • Copy the Client Secret into your Connector Profile.
  • You can reveal the Client Secret again later from this screen, or rotate it with Generate New Secret.
The application Overview tab General section showing Environment ID, Client ID, and Client Secret (values redacted).
4

Select the region

The region is the PingOne geography your environment is hosted in. Go to Settings > Environment Properties and read the Region value.

  • Select the matching option from the Region list in your Connector Profile.
  • Example: a Region of North America (US) means you select North America
The Environment Properties page with the Region field

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 Type

Under OIDC Settings:

  • Response Type: check Code. Leave Token and ID Token unchecked.
  • Grant Type: check Authorization Code
  • Grant Type: check Refresh Token
  • PKCE Enforcement: leave as OPTIONAL
  • Leave Implicit, Client Credentials, Device Authorization, and CIBA unchecked.
The OIDC Settings edit panel showing Response Type set to Code and Grant Type with Authorization Code and Refresh Token checked.
2

Configure the refresh token settings

The refresh token options appear once the Refresh Token grant is enabled:

  • Refresh Token Format — select JSON Web Token (recommended).
  • Refresh Token Duration — for example 30 Days.
  • Refresh Token Rolling Duration — for example 180 Days.
3

Set the redirect URI and token authentication method

Still in the OIDC Settings edit panel:

  • Under Redirect URIs, click + Add.
  • Enter the Callback URL from your Connector Profile.
  • Leave Allow Redirect URI Patterns unchecked unless you specifically need wildcard matching.
  • Token Endpoint Authentication Method — select Client Secret Post.
  • Click Save.
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.

Restrict Application Access

The Access tab controls who can sign in to the application.

1

Enable Admin Only Access

Open the Access tab and click the pencil (edit) icon:

  • Enable Admin Only Access.
  • Leave Group Membership Policy as No Restrictions unless you want to limit sign-in to a specific group.
The application Access tab showing Admin Only Access and Group Membership Policy.

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.

  • In the left navigation, go to Directory and click Users.
  • Select the account you plan to use.
  • Open the Roles tab on the user panel.
  • Locate the role you want and assign it at the appropriate scope.
  • For full Management API coverage — assign Organization Admin at the organization scope, or Environment Admin at the environment scope. Either covers all actions.
  • 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.
The user Roles tab showing the Environment Admin, Identity Data Admin, and Organization Admin roles.

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

Link an Account

Once the Connector Profile is created, continue to link an account.