Set up an App in Okta for User & Group Provisioning

Last modified on October 11, 2022

This guide will show you how to deploy an Okta app integration using System for Cross-domain Identity Management (SCIM) provisioning. When done, you will have enabled a SCIM app integration with provisioning to securely automate and manage user identity information, such as user account creation, updates, and deactivation, between Okta and strongDM.

Requirements

  • If you are currently using the Okta script we provided to do directory sync through the strongDM API, please disable that before activating the SCIM Provisioning integration.
  • You must be a strongDM user with the Administrator permission level and a user with administrator rights in your Okta account.

Supported Features

The following provisioning features are supported by strongDM:

  • Push Users: Users in Okta that are assigned to the strongDM application within Okta are automatically added as users in strongDM.
  • Update User Attributes: When user attributes are updated in Okta (first name, last name, email address), they will be updated in strongDM.
  • Deactivate Users: When users are deactivated in Okta or unassigned from the strongDM application, they will be Suspended within strongDM.
  • Push Groups: Groups and their users in Okta can be pushed to strongDM as Roles (group information from Okta can be used to map users to strongDM Roles).
  • Import Groups: Roles from strongDM can be imported into Okta as Groups at setup.
  • Import Users: Users from strongDM can be imported into Okta at setup.

Step-by-step Configuration Instructions

These instructions walk you through the process of adding a SCIM application in Okta and grabbing your token from the strongDM Admin UI. We recommend that you keep both Okta and the Admin UI open in your browser so you can easily tab between them.

  1. Log in to your Okta account.

  2. From the Admin Console, go to Applications > Applications and click Browse App Catalog (if you have already added the strongDM app through our Okta SSO guide you can skip to Step 7).

  3. Search for and select the “strongDM” app, then click Add.

  4. Change the label for the app if you’d like, then click Done.

  5. On the Sign On tab, click Edit in the upper-right, then in the Credentials Details section set Application username format to “Email”.

  6. Click Save.

  7. Select the Provisioning tab and then click Configure API Integration.

  8. Select the checkbox for Enable API Integration.

  9. API Token: Get the strongDM SCIM token by following these steps:

    1. Go to the strongDM Admin UI’s Settings > User Management > Provisioning section.

    2. Set the SCIM Provider option to Okta.

    3. Click Activate SCIM and then copy and save the token generated.

    4. Go back to your Okta console and fill the API Token field with the token you copied.

      For example: aabb12fjfl445...jkhksjhf98345un

    If you don’t see Provisioning in your strongDM Admin UI’s Settings > User Management page, please contact support@strongdm.com to have it enabled.

  10. Click Test API Credentials to test whether the integration can connect to the SCIM API. If there are errors, make sure your base URL and API token are correct and try again. If you’re still running into issues, contact support@strongdm.com.

  11. Click Save to finish the integration setup.

Configure Provisioning options

Next, configure SCIM options so that the integration knows how to handle provisioning of the users and groups from Okta into strongDM.

  1. On the Provisioning tab of the Okta integration, select the To App tab from the left-hand side and then click Edit.
  2. Select the checkboxes to enable the following options:
    1. Create Users: This enables Okta to create Users in strongDM, based on assigned users in Okta. If Okta detects an existing strongDM User that has the same email address as an existing Okta user, Okta will take control of that strongDM User. If there isn’t an existing strongDM User with that email, Okta will create a new User in strongDM.
    2. Update User Attributes: This enables Okta to update the name and email addresses of strongDM Users based on changes to that User in Okta.
    3. Deactivate Users: This enables Okta to suspend Users in strongDM when they are unassigned from the application within Okta. These Users will also be reinstated if they are assigned back to the strongDM application within Okta.
  3. Select Save.

Setup is now complete!

Troubleshooting and Tips

Due to the nature of how Okta integrates through SCIM 2.0, there are a few limitations and usage tips to be aware of. If you have any issues with your implementation, please contact support@strongdm.com.

Your Initial Provisioning of Users and Groups

Once you’ve configured provisioning within Okta, follow these steps in order to sync your initial set of Okta users and groups with strongDM.

  1. Go to the Assignments tab, click Assign, and then choose the Assign to Groups option.

    • Assign to Groups lets you assign groups of Okta users to strongDM.
    • The Okta users that you select here will be assigned to strongDM. If they already exist in strongDM, Okta will take control of them. If they don’t already exist in strongDM, Okta will create them.
    • If you’re using Okta as your SSO with strongDM, we recommend using a shared Okta group to assign users to both of these strongDM apps.
  2. Go to the Push Groups tab, click the Push Groups button, and choose the Find groups by name option.

    1. Enter text in the box to search for the Okta groups you want to add to strongDM as Roles.
    2. If a strongDM Role with that same name doesn’t already exist, you will be provided the option to create that Role or link this group to an existing strongDM Role of a different name.
    3. Select Save & Add Another to keep going, or just Save when you are done adding Okta groups.
  3. On the Provisioning tab in the application, scroll down and click Force Sync to initiate the sync process for the first time. The first sync may take some time to complete, so just wait and let the process complete.

  4. In the strongDM Admin UI:

    1. Go to the Users page to confirm that Users look as expected.
    2. Go to the Roles page to check that Roles look as expected.

Individual administrator account(s)

It is recommended that your organization have at least one administrator privileged User who is assigned individually within Okta, so that you always have access to an account with administrator privileges. This could be useful in a “break glass” situation in which a group assignment(s) is accidentally removed from Okta, causing administrative users to be suspended and creating a “locked out” situation. To assign a User, go to Okta’s Assignments tab and use the Assign to People option.

Okta Provisioning Management

After the initial sync is complete, you should see that the Users and Roles in the strongDM Admin UI match the Okta users and groups that you chose in the previous steps.

Going forward, any changes you make in Okta will be reflected in strongDM when you:

  • Assign and unassign users from the application.
  • Link and unlink groups from the application.
  • Add and remove users from groups in Okta.

Information about Okta Managed Users and Groups

Users and groups that are assigned/linked to strongDM from within Okta will be considered “Okta Managed” and are mostly read-only from a strongDM perspective. Any time you assign a new Okta user to the strongDM application, we recommend using the Force Sync button from the Provisioning tab in Okta.

Here’s how Okta Managed Users are handled:

  • An Okta user who is unassigned from the strongDM application will suspend that User within strongDM.
  • An Okta group that is unlinked from the strongDM application will remove Users from that strongDM Role within strongDM and then delete that Role.
  • An Okta user who is added to an Okta group will attach that strongDM User to that Role in strongDM.

Information about User management in strongDM

In addition to managing Users and Roles through Okta, you have the flexibility to continue managing your users and roles directly through strongDM.

Here’s what you can do:

  • Manually create Users, Service Accounts, and Roles within strongDM—these will be identified with the sdm badge in the Admin UI indicating that they are “strongDM Managed.”
  • Attach strongDM Managed Users and Service Accounts to both strongDM Managed Roles and Okta Managed Roles from within strongDM.
  • Attach Okta Managed Users to strongDM Managed Roles from within strongDM.
  • Set Permission Levels for Users within the Admin UI for both strongDM Managed and Okta Managed Users.
  • Grant access through Roles and Temporary Access for Users from within strongDM.

If Okta suspends Users, they won’t be unassigned from strongDM

Okta has an option to “suspend” users. Doing so will not unassign the user from the strongDM application and therefore won’t suspend their corresponding Okta Managed User in strongDM. Make sure to either unassign the Okta user from the application or deactivate the Okta user from within Okta in order to remove their strongDM access as well. Okta does not communicate this information to strongDM in any other way.

Options to avoid

When unlinking an Okta group from strongDM, we strongly encourage you not to select the option to “Leave the group in the target app.” Selecting that option will cause the following to happen:

  • The corresponding Okta Managed Role in strongDM will persist in a read-only state.
  • You won’t be able to delete the corresponding Okta Managed Role within strongDM.
  • Okta Managed Users attached to the Role will continue to have the access granted by the Role and cannot be unattached within strongDM.

If you end up in this situation, just relink the Okta group to the strongDM Role from within Okta. Going forward, you will be able to remove the Okta Managed Group properly.

When trying to push a Group from Okta to strongDM, if a strongDM Role with the same name already exists and you choose the “Create Group” option within Okta, you will get an error. In a case like this, you should click the Refresh App Groups button in Okta, then choose the “Link Group” option when pushing the Group. This will correctly link the Okta Group with the matching strongDM Role.

If any errors occur or if the integration fails in any way, please contact support@strongdm.com for assistance.

Top