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.
- 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.
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.
Log in to your Okta account.
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).
Search for and select the “strongDM” app, then click Add.
Change the label for the app if you’d like, then click Done.
On the Sign On tab, click Edit in the upper-right, then in the Credentials Details section set Application username format to “Email”.
Select the Provisioning tab and then click Configure API Integration.
Select the checkbox for Enable API Integration.
API Token: Get the strongDM SCIM token by following these steps:
Go to the strongDM Admin UI’s Settings > User Management > Provisioning section.
Set the SCIM Provider option to Okta.
Click Activate SCIM and then copy and save the token generated.
Go back to your Okta console and fill the API Token field with the token you copied.
If you don’t see Provisioning in your strongDM Admin UI’s Settings > User Management page, please contact firstname.lastname@example.org to have it enabled.
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 email@example.com.
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.
- On the Provisioning tab of the Okta integration, select the To App tab from the left-hand side and then click Edit.
- Select the checkboxes to enable the following options:
- 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.
- Update User Attributes: This enables Okta to update the name and email addresses of strongDM Users based on changes to that User in Okta.
- 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.
- 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 firstname.lastname@example.org.
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.
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.
Go to the Push Groups tab, click the Push Groups button, and choose the Find groups by name option.
- Enter text in the box to search for the Okta groups you want to add to strongDM as Roles.
- 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.
- Select Save & Add Another to keep going, or just Save when you are done adding Okta groups.
An Okta user needs to be both assigned to strongDM and part of a Okta group pushed to strongDM in order for the associated strongDM User to be assigned to the strongDM Role.
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.
In the strongDM Admin UI:
- Go to the Users page to confirm that Users look as expected.
- 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 email@example.com for assistance.