Directory Sync · Setup guides

Okta Directory Sync

Connect an Okta directory to OrbitID with SCIM 2.0. You need an Okta admin account, and the SCIM endpoint and bearer token from the directory you created in OrbitID (see Directory Sync).

Step 1: Create application

In the Okta admin console open Applications → Applications and click Browse App Catalog.

Okta applications page with Browse App Catalog highlighted

Search for SCIM 2.0 Test App (OAuth Bearer Token) and open it.

Searching the app catalog for SCIM 2.0 Test App (OAuth Bearer Token)

Click Add Integration.

The SCIM 2.0 Test App catalog page with Add Integration highlighted

Give it an Application label your admins will recognise, click Next, leave the sign-on options as they are and click Done.

General settings step with the application label and Next button highlighted

Step 2: Configure provisioning

Open the Provisioning tab and click Configure API Integration.

Provisioning tab with Configure API Integration highlighted

Check Enable API integration and enter:

  • SCIM 2.0 Base Url: the SCIM endpoint from OrbitID, https://app.orbitid.com/api/scim/v2.0/<directoryId>
  • OAuth Bearer Token: the bearer token from OrbitID

Click Test API Credentials, then Save.

API integration form with the base URL, bearer token, test and save controls highlighted

Under Provisioning → To App, click Edit and enable Create Users, Update User Attributes and Deactivate Users, then save.

Provisioning to App settings with Create Users, Update User Attributes and Deactivate Users enabled

Step 3: Assign users and groups

Open the Assignments tab, click Assign and choose Assign to People or Assign to Groups.

Assignments tab with the Assign dropdown open

Pick the people or groups that should be provisioned and click Assign.

Assign to People dialog with a user selected

Review the attributes, click Save and Go Back, then Done. Okta provisions each assigned user and OrbitID emits a user.created event.

Attribute review with Save and Go Back highlighted

To sync group memberships, open the Push Groups tab, click Push Groups and choose Find groups by name.

Push Groups tab with Find groups by name highlighted

Type the group name, keep Push group memberships immediately checked and click Save. OrbitID emits group.created and group.user_added events for the group and its members.

Push groups by name with a group entered and Save highlighted

Assigning a group under Assignments provisions its members as users; pushing it under Push Groups also creates the group itself in OrbitID. Do both if you want group memberships in your app.