How to Enable Okta User Provisioning with SCIM

This article describes how to enable automatic user provisioning via SCIM with your Okta tenant.

Cerby Team avatar
Written by Cerby Team
Updated over a week ago

With Cerby, you can configure automatic user provisioning for Okta using the System for Cross-domain Identity Management (SCIM) specification to manage the creation and synchronization of user accounts based on the user and group assignments. This feature is available to all users who have both a valid Okta tenant and a Cerby workspace.

When you enable user provisioning in an Okta app integration, you can automate multiple critical tasks to downstream user management, ensuring that configuration is performed once and propagated throughout the Cerby platform.

This article describes how to enable Okta user provisioning for the Cerby platform with SCIM.

Supported Features

The following are the supported features of enabling Okta user provisioning with SCIM:

  • Push users: Users assigned to the Cerby application in Okta are automatically able to access the Cerby clients (web app, mobile app, and browser extension); they are available to other users in Cerby for account sharing purposes.

  • Update user attributes: The following user attributes are automatically synchronized with the corresponding record in Cerby:

    • First name

    • Last name

    • Primary email

  • Push groups: Users who are members of a group in Okta and assigned to the Cerby application are pushed in batches to the Cerby clients, and this grouping structure and its members are replicated in Cerby.

  • Deactivate users: Deactivated users in Okta are automatically detected in Cerby, and their associated access grants in Cerby are removed. In some cases, additional follow-up actions, like password rotation, may occur in Cerby for privileged identities to which the deprovisioned user had access grants. See the Troubleshooting: Deactivated Users section for more information on the support that Cerby provides for this feature.

  • Reactivate users: Reactivated users in Okta will reappear as valid users in Cerby; however, account access grants must be reassigned in Cerby.

Requirements

The following are the requirements to enable Okta user provisioning with SCIM:

Enabling Okta User Provisioning with SCIM

To configure automatic Okta user provisioning, you must complete three main steps:

The following sections describe each main step.

1. Configure Cerby to Support Provisioning with Okta

Cerby has enabled by default the provisioning support for Okta. You must only follow the instructions from the How to Retrieve the SCIM API Authentication Token from Cerby article to retrieve the SCIM API authentication token.


2. Configure Automatic User Provisioning to Cerby

To configure automatic user provisioning to Cerby, you must complete the following steps:

  1. Log in to the Okta Admin Console of your organization.

  2. Click the Applications button from the Applications drop-down list located in the left navigation drawer. The Applications page is displayed, as shown in Figure 1.

    Figure 1. Applications Page in the Okta Admin Console

  3. Select the Cerby option from the list of applications. The Cerby application page is displayed with the General tab activated, as shown in Figure 2.

    Figure 2. General Tab in the Cerby Page

  4. Configure the provisioning integration by performing the following actions:

    1. Activate the Provisioning tab.

    2. Click the Integration button located in the left panel. The Integration section is displayed in the main panel, as shown in Figure 3.

      Figure 3. Integration Section in the Provisioning Tab

    3. Select the Enable API integration option.

    4. Paste the SCIM API authentication token in the API Token field. You retrieved this token in step 1. Configure Cerby to support provisioning with Okta.

    5. Click the Save button.

  5. Configure the sign-on settings by performing the following actions:

    1. Activate the Sign On tab. A success message box is displayed.

    2. Click the Edit button from the Settings section. The input fields in the Sign on methods and Credentials details sections are enabled.

    3. Select the Email option from the Application username format drop-down list.

    4. Click the Save button. A success message box is displayed.

  6. Configure the application username format by performing the following actions:

    1. Activate the Provisioning tab.

    2. Click the To App button located in the left panel. The Provisioning to App section is displayed in the main panel, as shown in Figure 4.

      Figure 4. Provisioning to App Section in the Provisioning Tab

    3. Select the Enable checkbox of the following options:

      • Create Users

      • Update User Attributes

      • Deactivate Users

      IMPORTANT: Make sure that the username and email values for the user being pushed to Cerby are the same.

    4. Click the Save button. A success message box is displayed.


3. Configure Group Push between Okta and Cerby

To configure the Group Push feature between Okta and Cerby, you must complete the following steps from the Cerby application page in Okta:

  1. Activate the Push Groups tab. The Push Groups to Cerby page is displayed, as shown in Figure 5.

    Figure 5. Push Groups Tab

  2. Select the Find groups by name option from the Push Groups drop-down list. The Push groups by name section is displayed in the main panel.

    TIP: You can select the Find groups by rule option to search among multiple groups when they meet a specific rule.

  3. Enter the name of the group you want to push to Cerby in the Enter a group to push… field. The group is displayed automatically below the input field.

  4. Select the group. The Group section is displayed below, as shown in Figure 6.

    Figure 6. Group Section

  5. Select the corresponding option from the Match result & push action drop-down list:

    • Create Group: Select this option when the group does not exist in Cerby, so it is pushed from Okta.

    • Link Group: Select this option when the group exists in Cerby and is already linked to Okta. Use the drop-down to find the existing group.

  6. Click the Save button. The panel closes and the Push Groups to Cerby page is displayed. When the group is pushed to Cerby, an Active status is displayed in the Push Status column.

    NOTE: To verify if the group was successfully pushed to Cerby, access the Teams view in your Cerby dashboard. The group and its members are displayed in the main section of the Teams view. The Teams feature is currently under development; contact Cerby if you want to be part of the pilot.

Now you are done.


Troubleshooting: Deactivated Users

Deactivated users in Okta are also deactivated in Cerby. It means that these users are not able to log in to the application, but their data remains available to other Cerby admins as disabled users.

To permanently delete the users' data, contact Cerby by sending an email to support@cerby.com.


Troubleshooting: Reprovisioned users

After configuring Okta user provisioning with the Cerby app integration through the SCIM specification, some existing users might not be reprovisioned automatically. Instead, their usernames are removed and added under the new email address.

When this scenario occurs, the following error message is displayed on the Assignments tab of the Cerby application page: “User was assigned this application before Provisioning was enabled and not provisioned in the downstream application. Click Provision User.”

To solve the user reprovisioning problem, you can complete the steps of one of the following two alternatives:

  • Retry the failed tasks

    1. Click the Tasks button from the Dashboard drop-down list located in the left navigation drawer. The Tasks page is displayed.

    2. Identify the tasks with the failed status.

    3. Select the group assigned to the Cerby app integration.

    4. Click the Retry Tasks button.

  • Remove and add users manually

    1. Open the Cerby application page.

    2. Activate the Provisioning tab.

    3. Click the To App button located in the left panel. The Provisioning to App section is displayed in the main panel.

    4. Click the Edit button to activate the checkboxes.

    5. Deselect the Enable checkbox of the Deactivate Users option, as shown in Figure 11.

      Figure 11. Deactivate Users Option in the Provisioning to App Section

    6. Click the Save button located at the bottom of the page.

    7. Remove the users with the error from the Okta group assigned to the Cerby app integration.

    8. Add the corresponding users back to the Okta group.

    9. Repeat steps 4, 5, and 6 to select the Enable checkbox of the Deactivate Users option.


Regenerating the SCIM API Authentication Token

To regenerate the SCIM API authentication token, complete the following steps:

  1. Send an email with your request to support@cerby.com. The Cerby team regenerates the SCIM API authentication token.

  2. Receive the response email from Cerby to confirm that the token was successfully regenerated.

  3. Complete the instructions from the How to Retrieve the SCIM API Authentication Token from Cerby article to retrieve the new token.

NOTE: The Cerby team is currently developing a self-service solution for regenerating the SCIM API authentication token. To regenerate the token, the Cerby team members must validate their identity.

Did this answer your question?