Okta Gainsight SCIM Setup
This article explains how to configure SCIM (System for Cross-domain Identity Management) integration between Okta and Gainsight. SCIM enables automated user provisioning and de-provisioning.
Overview
SCIM integration automates the provisioning lifecycle of users in Gainsight by connecting with your identity provider, Okta. Once configured, the SCIM integration allows you to:
- Automatically create, update, and deactivate users in Gainsight based on Okta assignments.
- Synchronize user profile attributes and custom fields between systems.
- Improve security and efficiency by managing access centrally through Okta.
This guide outlines the full setup process in Okta, including SAML configuration, SCIM connector settings, OAuth authentication, and optional custom field mappings.
Prerequisite
To complete the setup process, admins must have access to both Okta and Gainsight.
Gainsight recommends using separate Okta applications for SAML authentication and SCIM provisioning to avoid configuration conflicts and ensure reliable user authentication and provisioning.
Create SCIM Application in Okta
- Log in to your Okta Admin Console.
- Click Create Application.
- Select SAML 2.0, click Next.
- Under General Settings, enter Gainsight SCIM Integration as the app name.
- Click Next.

- Configure the following using metadata.xml from Gainsight:
- Single Sign-On URL
- Audience URI (SP Entity ID)
For more information, refer to the Gainsight Authentication article.
- Click Next > Finish.
Enable SCIM Provisioning
After the app is created, you can enable the SCIM provisioning:
- Navigate to the General tab.
- Click Edit. The App Settings dialog appears.
- Under the Provisioning option, select SCIM.
- Click Save. The Proviosing tab is now enabled

- Configure the below details in the Provisioning tab.

|
Field |
Value |
|---|---|
|
SCIM Connector Base URL |
https://<your-gainsight-tenant-url>/v1/users/services/scim |
|
Unique Identifier Field for Users |
userName |
|
Supported Provisioning Actions |
|
|
Authentication Mode: OAuth 2.0 |
For more information on OAuth, refer to the OAuth for Gainsight APIs |
|
Access Token Endpoint URI |
https://<your-gainsight-tenant-url>/v1/users/oauth/access/token |
|
Authorization Endpoint URI |
https://<your-gainsight-tenant-url>/v1/authorize?clientId=<<clinetId_from_Gainsight_OAuth>>&redirectUri=https://system-admin.okta.com/admin/app/cpc/<<please_enter_okta_application_name>>/oauth/callback&scopes=read_write |
- Click the Authenticate with Gainsight SCIM Integration and authorize Gainsight.
Add Custom Field Mappings
Gainsight supports custom fields in SCIM APIs with the following data types:
- Boolean
- String
- Picklist
- Multi-Picklist
Gainsight recommends contacting Gainsight Support to add the same mappings on the Gainsight instance. This ensures that the fields are included in the User Create and Update APIs.
To configure these fields in Okta:
- Navigate to Directory > Profile Editor.
- Select your SCIM integration app.
- Click +Add Attribute.
Note: The Gainsight SCIM external namespace is urn:ietf:params:scim:schemas:extension:gainsight:2.0:User

Here are few examples of data types supported in SCIM API:
- Boolean Field: IsSuperAdmin
Gainsight includes an internal field that identifies whether a user is a Super Admin. By default, users are not marked as Super Admins.
To manage this attribute via SCIM:- Create a custom Boolean field in Okta.
- Set the attribute name to exactly IsSuperAdmin.
Note: If the name does not match, Gainsight will not recognize or update the Super Admin status.

You can choose whether the attribute type is Personal or Group, depending on the level at which you want the attribute to be applied.
- String and Picklist Field: License Type
Gainsight requires a License Type when a user is created. If no value is passed, the user is assigned the Internal Collaborator license by default.
To pass the license type via SCIM:- Create a custom String field in Okta
- Set the attribute name to exactly LicenseType

You can use one of the following values, and they must match exactly:- Full
- Viewer
- Viewer_Analytics
- Multi-Picklist

Manage Gainsight Attributes Using Okta Groups
In Okta, you can configure your Gainsight custom attributes at the group level. When you configure attributes (such as LicenseType, IsSuperAdmin, or any other supported custom field) on an Okta group, every user assigned to that group inherits the same values automatically.
To configure group level custom attributes, follow these steps:
- Navigate to Applications > Assignments in Okta.
- Under Filters, select Groups.

- Choose the Okta group you want to assign to the Gainsight application, then click Assign.

-
Enter the attribute values for the custom fields you created. For example: LicenseType or IsSuperAdmin.

-
Click Save and Go Back.

After this configuration, any user added to the group automatically receives the attribute values defined for that group.
User Assigned to Multiple Groups
If a user is assigned to multiple Okta groups, Okta determines which attribute values to apply using group priority.
The group with the highest priority provides the attribute values that Gainsight receives through SCIM for user creation and updates.

Note: If attribute values appear incorrect in Gainsight, check the user’s group assignments and confirm which group has the highest priority.