Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up the OneLogin spoke

Integrate the ServiceNow instance and OneLogin account using the OAuth credentials to authenticate ServiceNow requests.

Create an API credential in the OneLogin portal

Create an API credential in the OneLogin portal to enable OAuth 2.0 authentication and obtain the values of client ID and client secret.

Before you begin

Role required: admin or account owner.

Procedure

  1. Log in to your OneLogin account as an account owner or administrator.

  2. Navigate to Developers > API Credentials.

  3. In the API Access page, click New Credential.

  4. On the form, enter the credential name and select scope for the credential.

    For more information, see Working with API Credentials.

    Note: Ensure that you select either Manage users or Manage all permission.

Image omitted: onelogin-credential.png
OneLogin credential.
  1. Click Save.

    The values of client ID and client secret are displayed.

Image omitted: onelogin-creds.png
Values of client ID and client secret.
  1. Copy and record the values of client ID and client secret for later use.

Configure the OneLogin connection and credential alias record

Configure the default connection and credential alias to integrate the ServiceNow instance and OneLogin account to authenticate ServiceNow requests.

Before you begin

  • Request an Integration Hub subscription.
  • Activate the OneLogin spoke.
  • Role required: admin.

Procedure

  1. Navigate to Connection & Credentials > Connection & Credential Aliases.

  2. Open the record, OneLogin.

  3. Click the Create New Connection & Credential related link.

  4. On the form, fill these values.

    FieldDescription
    Connection NameName to identify the connection record.
    Connection URLConnection URL in this format: https://api.<region>.onelogin.com. Replace <region> with the region of your OneLogin account.
    Credential NameName to identify the credential record.
    OAuth Entity NameName to identify the OAuth record.
    OAuth Client IDClient ID of the credential created in the OneLogin portal.
    OAuth Client SecretClient secret of the credential created in the OneLogin portal.
    OAuth Token URLToken URL in this format: https://api.<region>.onelogin.com/auth/oauth2/v2/token. Replace <region> with the region of your OneLogin account.
  5. Click Create and Get OAuth Token.

    ServiceNow instance is integrated with the OneLogin account.