Manage Users and Teams with SCIM and Okta

Configuring SCIM for your Sigma organization will allow you to centralize management of users and teams through Okta. This guide provides the steps required to configure Okta Provisioning for Sigma Computing.

Requirements

  • You must be an organization Admin in Sigma to initiate provisioning.
  • Your Sigma organization should already be authenticated with Okta using SAML; see Manage authentication.
    This feature does not work with Password or "SAML or password" authentication.

Understanding SCIM

What is SCIM?

The “System for Cross-domain Identity Management”, better known by its acronym SCIM, is a standard for the automation of user and group provisioning between two services.

In this case, the two services are Okta and Sigma.

SCIM with Sigma and Okta

Configuring SCIM for your organization allows you to create and manage users and groups in Okta and automatically push them to your Sigma organization as users and teams.

Once SCIM provisioning is enabled for both services, all management of users and teams must be done in Okta. These are visible in Sigma, but not editable.

SCIM with SAML

Before you can configure SCIM for your organization, you will need to enable either SAML authentication in Okta and Sigma.

SAML allows Single Sign On (SSO) and management of users. However, syncing new users and updates between Okta and Sigma requires the user to log in to Sigma. When you add SCIM to your SAML configuration, you will gain the ability to manage Sigma teams from Okta, and both user and group/team data in Okta will automatically be pushed to your Sigma organization, regardless of user login.

Features

The following provisioning features are supported:

Push New Users

  • New users created through Okta are automatically added as members in Sigma. If a Sigma account type isn't specified in Okta, the default Lite account type is assigned.

Push User Profile Updates

  • Updates made to the user's name (‘given name’ and ‘family name’) in their Okta profile will automatically be pushed to Sigma.
  • Updates made to a user’s ‘user type’ (via that application Assignment page) will automatically be pushed to Sigma.

Deactivate Users

  • Deactivating a user through Okta will deactivate the user in Sigma.
  • Note: The user's profile information will be maintained as an inactive user.
  • Note: Ownership of any documents created by the user will be transferred to the Admin performing the deactivation. Any documents located in the user’s My Documents folder will automatically be transferred to a folder in the Admin’s My Documents.

Reactivate Users

  • Sigma user accounts can be reactivated by reactivating the corresponding account in Okta.
  • Reactivated users will automatically regain their Sigma team memberships, if they were added to Sigma via an Okta group.

Push Groups / Teams

  • Groups created in Okta will be created as Teams in Sigma.

Push Group / Team Updates

  • Updates made to a group (group name and members) in Okta will be pushed to the corresponding team in Sigma.

Deactivate Groups / Teams

  • Deactivating a group in Okta will deactivate the corresponding team in Sigma.
  • Note: Any documents located in the team’s workspace folder will automatically be transferred to the My Documents folder of the Admin performing the deletion.

Transition to SCIM

Are you considering transitioning to SCIM after already creating users and teams in Sigma? Have you already created users with SAML authentication but are new to SCIM provisioning?  This section will discuss what to expect when you transition to SCIM.

Can I edit users and teams in Sigma?

All management of users and teams must be done through your IdP. While not directly editable in Sigma, both will be displayed in your Sigma Admin Portal.

What happens to my existing users?

This depends on where your users were created: in Sigma’s Admin Portal vs in Okta with SAML. Both scenarios are listed below.

If your pre-SCIM users were created in Sigma’s Admin Portal:

Existing users will remain in Sigma. However, they will no longer be editable through the Sigma Admin Portal.

Users: Okta allows you to link to an existing user with the same email address in Sigma. No work will be lost, and Admin management of that user can then be maintained through your IdP. Alternatively, you may be able to import users from Sigma into your IdP.

User Account Types: If you switch management of a user originally created in Sigma over to your IdP, Sigma will automatically respect the account type defined in the IdP, regardless of what was originally set in Sigma.

If your pre-SCIM users were created in Okta with SAML:

Okta requires that any users already assigned to the app be removed and re-added when provisioning is switched on for an existing application. This process will not result in the loss of any user work in Sigma.

We recommend the following process for handling this situation:

  1. Select an off-hours time slot in which you can conduct the switch.
    During this time, your users will be temporarily removed from the application and subsequently will not be able to log into Sigma.
  2. Create Okta groups for your users prior to removing them from your application.
    This is not required; users can be added individually. However, bundling users into groups is recommended for two reasons:
    (1)  If you have a large user base, re-assigning your temporarily removed users in groups will reduce the period of time that your users are locked out of their Sigma accounts.
    (2)  These user groups can be repurposed when you push Okta groups to Sigma to create teams.
  3. Un-assign all users from your Sigma application in Okta.
    This can be done from the Assignments tab. Be sure to un-assign individuals and groups.
  4. Turn on provisioning.
  5. Re-assign all users to your application.
  6. Push groups to create teams.

What will happen to my teams previously created in Sigma?

Existing teams will remain in Sigma, but you can't edit them in Sigma.

Okta allows you to link a group in your application to an existing team in Sigma. No work will be lost, and Admin management of that group/team can then be maintained through Okta. When the link is created, the team's membership will automatically be updated to reflect membership of the linked Okta group.

Step-­by-­Step Configuration Instructions

[Prerequisite] Set Up Authentication

If you have not already, connect your Okta instance to Sigma using SAML for authentication; see Single Sign-On with SAML.

Enable SCIM Provisioning

In Sigma:

  1. Log in to Sigma as an organization Admin.
  2. Navigate to your Sigma Admin Portal.
  3. In the left panel, click Authentication to open your organization’s Authentication page.
    Note: If you have not yet configured SAML, please do so now using the "SAML or password" authentication method; see Single Sign-On with SAML.
  4. If your authentication method is set to "SAML or Password", please change it to SAML only.
  5. Click the Setup button under Role and Team Provisioning to open the Provisioning modal.
    Note: This section is visible if your Authentication method is SAML (not SAML or Password).
    Screen_Shot_2021-02-25_at_2.43.48_PM.png
  6. Review the notes provided on the getting started section of the Provisioning modal. Check the confirmation box, and click Next to continue.
  7. You will now be asked to create a token to authenticate your integration with Okta. Enter a token name. Then click Next.
    Screen_Shot_2021-01-04_at_1.45.46_PM.png
  8. Sigma provides you with a Bearer Token. Copy and store it in a secure location. It will be needed to complete your integration.
    Note: If you are configuring provisioning in an Okta Sigma app created prior to February 3, 2021, you will also need the Directory Base URL.
    Screen_Shot_2021-01-04_at_1.45.06_PM.png
  9. Click Done.
    Next Steps: Enable SCIM provisioning in Okta.

In Okta:

The following instructions support SCIM enablement for Sigma applications created via Okta's marketplace. Note: These instructions only apply to applications created AFTER February 3, 2021. To enable SCIM and Provisioning for older applications follow instructions for SCIM for Pre-2021 applications.

  1. Open your Sigma application in Okta.
  2. Open the application’s Provisioning tab.
  3. Click Configure API Integration.
    Screen_Shot_2021-01-19_at_10.47.02_AM.png
  4. Check Enable API Integration.
  5. Under API Token, enter the Bearer Token that you received when setting up provisioning in Sigma’s Admin Portal.
  6. Click Test API Credentials to verify your token.
    Screen_Shot_2021-01-19_at_10.46.43_AM.png
  7. After passing the configuration test, click Save.
  8. You now see Provisioning to App settings. Click Edit and check the Enable options next to Create Users,Update User Attributes, and Deactivate Users.
    Screen_Shot_2021-01-20_at_11.11.35_AM.png
  9. Click Save.
    Next Steps: add users and add teams.

Instructions for SCIM for Pre- Feb 3, 2021 applications:

  1. Open your Sigma application in Okta.
  2. Open the application’s General tab.
  3. Click Edit.
  4. Under Provisioning, select SCIM.
  5. Click Save.
  6. Open the application’s Provisioning tab.
  7. Click Edit.
  8. Under SCIM connector base URL, enter the Directory Base URL that you received when setting up provisioning in Sigma’s Admin Portal.Note: This value can also be found on your Sigma Admin Portal's Authentication page, under the header Role and Team Provisioning.
  9. Under Unique identifier field for users, enter ‘userName’.
  10. Check all four checkboxes beside Supported provisioning actions.
  11. Under Authentication Mode, select ‘HTTP Header’.
  12. Under HTTP HEADER > Authorization, enter the Bearer Token that you received when you configured provisioning in Sigma’s Admin Portal.
  13. Click Test Connector Configuration to test your configuration.
  14. After passing the configuration test, click Save.
  15. You now see Provisioning to App settings. Click Edit and check the Enable options next to Create Users, Update User Attributes, and Deactivate Users.
  16. Click Save.
    Next Steps: add users and add teams.

Add Users and Assign Account Types

Add Users Individually

Follow the steps below to add individual users. If a user has a custom account type, or an user type in Okta that doesn't directly map to Sigma, see Use Custom Account Types with your IdP

  1. Open your Okta Admin console.
  2. Open your Sigma application.
  3. Go to the Assignments tab.
  4. Click Assign > Assign to People.
  5. Select the user(s) you would like to add to Sigma.
  6. Use their email address as the User Name value.
  7. Confirm that Given name and Family name are both defined.
    Note: These values are pulled directly from the user’s Okta profile.
  8. Select a User Type.
    Screen_Shot_2021-01-19_at_10.53.29_AM.png

🚧

The user type attribute is case-sensitive. When configuring default account types (Admin, Lite, Essential, Pro), the value indicated should be lower case (e.g. "essential"). Other account type configurations are also case-sensitive, and the value set in your IdP must match the value in Sigma exactly, or errors may occur when trying to provision users.

  1. Save your changes. They are sent from Okta to Sigma automatically.

Provisioning users and groups may take a few moments. To check on provisioning status from Okta, open your Provisioning activity log under Reports. You can also check the People page in your Sigma Admin Portal to confirm that your new user(s) have been added and assigned the appropriate account type.

Errors

If you encounter the error below, remove all existing user types in Okta. Then add the user types in Okta again, mirroring the account types found in Sigma.  

Error while trying to push profile update for {email address}: Bad Request. Errors reported by remote server: Request is malformed: Error: Expecting string at 0.1.userType but instead got: null.

Add Users by Group

Follow the instructions below to add users to Sigma in bulk. The process adds users and assigns roles; it does not trigger team creation.

  1. Open your Okta Admin console.
  2. If needed, update your user group(s) under Directory > Groups.
  3. Go to Applications, and open your Sigma application.
  4. Go to the Assignments tab.
  5. Click Assign > Assign to Groups to view your group list.
  6. Locate the group that contains the users you want to add to Sigma, and click Assign.
  7. Select a User Type. This user type is assigned to all users in the group.
    Note: Any users previously assigned a role individually will keep their existing user role rather than inheriting their group assigned role.
    Screen_Shot_2021-01-19_at_10.57.33_AM.png
  8. Save your changes. They will be sent from Okta to Sigma automatically.
    Note: Provisioning users and groups may take a few moments. To check on provisioning status from Okta, open your Provisioning activity log under Reports. You can also check the People page in your Sigma Admin Portal to confirm that your new user(s) have been added and assigned the appropriate account type. 

Push Groups / Teams

Groups in Okta equate to teams in Sigma. Once you configure provisioning in Okta, you can't create new teams directly in the Sigma Admin Portal - all teams must be created as groups in Okta and pushed to Sigma.

Teams created in Sigma prior to setting up provisioning remain accessible (but not editable) from your Sigma Admin Portal. You may choose to transition management of these teams to Okta by selecting the Link Group push option listed in the instructions below.

  1. Open your Okta Admin console.
  2. If needed, update your user group(s) under Directory > Groups.
  3. If any users in the group are not yet assigned to Sigma, please add them now. The quickest way to add new users is by group; however, you can also add users individually.
  4. Go to Applications, and open your Sigma application.
  5. Open the Push Groups tab.
  6. Click the Push Groups button. Then select Find Groups by name from the menu.
    Screen_Shot_2021-01-19_at_10.59.08_AM.png
  7. Search for and select your group.
  8. Select your group push option.
    When you select a group, Okta checks if a team with the same name exists in Sigma.
  • If no group exists, it will suggest a Create Group push option.

  • If a team already exists, you will be directed to use the Link Group option.

  • You may also choose to use the Link Group option to link a group to a existing
    Screen_Shot_2021-01-05_at_3.45.24_PM.png

  • Click Save.

  • From the push groups list, you can see the push status of each group. Once marked Active, the group will appear as a team in Sigma.
    Screen_Shot_2021-01-05_at_4.27.00_PM.png
    Note: Provisioning users and groups may take a few moments. To check on provisioning status from Okta, open your Provisioning activity log under Reports. You can also check the Teams page in your Sigma Admin Portal to confirm that your team has been created or linked. Note: To immediately push changes to a group at any time, select the Push now option from the group’s Push Status menu.

Troubleshooting Tips & FAQ

Please reach out to Sigma Support with any questions during your configuration process.

(1) I added a new user to my Sigma application, but their account has not shown up in Sigma. What should I do?

  • Was the user’s account added to Okta before you set up provisioning? If so, you will need to un-assign and re-assign the user to the application.
  • Provisioning users and groups may take a few moments. To check on provisioning status from Okta, open your Provisioning activity log under Reports.
  • In Okta, check for an error next to the user in the people’s list under the Assignments tab in your Sigma application.  
  • Does the user have a first name and last name listed in their Okta Profile?

(2) My Sigma organization has existing users and teams that were previously created through the Sigma Admin Portal. Will these be affected when I set up provisioning with Okta?

  • No. Existing users and teams will remain in Sigma; however, they will no longer be editable through the Sigma Admin Portal.
  • A user in Okta can be linked to an existing user with the same email address in Sigma. No work will be lost, and Admin management of that user will now be maintained through Okta.
  • You may choose to link a group in Okta to an existing team in Sigma. No work will be lost, and Admin management of that group/team will now be maintained through Okta. 

(3) My Sigma organization has existing users and teams that were previously created through the Sigma Admin Portal but are not part of my Okta organization. What options do I have?

  • Option 1: Define the corresponding users and groups in Okta before turning on provisioning, so that Okta can link them together.
  • Option 2: You can use Okta’s import feature. In the Import tab, click on Import Now. This will scan for existing users and groups that are not defined in Okta but are present in Sigma. When Okta is done scanning, it will present a list of users that it found in Sigma but not in Okta. For each user that it found, you can decide to create a new user in Okta, to link to an existing user in Okta or to ignore the user. It is suggested that you ignore the scheduler user that Sigma creates as part of your Sigma organization ([email protected]). Refer to Okta’s documentation about Import users for more information. If you choose this option, check Known Issues.

(4) I assigned users to my Sigma application in Okta prior to turning on provisioning. Their accounts are not appearing in Sigma. What should I do?

  • Try un-assigning and reassigning these users to your Okta Sigma application.

(5) The Admin who originally set up our provisioning has left or taken on a new role (account deactivated, unassigned, or user type changed). Now we’re hitting errors when attempting to push data from Okta to Sigma. What happened?

  • Provisioning is associated with the Sigma Admin who originally set up provisioning in Sigma. If you wish to remove or update this user’s account type, you will also need to remove and re-enable provisioning in Sigma with a new Admin user. This will generate a new bearer token. Provide Okta with the updated bearer token (see enabling provisioning in Okta) and rerun any provisioning tasks that might have failed.

(6) Can I change a user’s user name?

  • This action is not recommended. Changing a user’s username will result in the creation of a new account in Sigma. It will not update the existing user’s username.

Limitations

  • Importing groups from Sigma teams is currently unsupported. The group gets created in Okta but has no members. As a workaround, after the group is created as part of the import process which imports both users and groups, delete the group in Okta and then recreate the group with the appropriate members. Then, push the group into Sigma by creating a link with the corresponding team in Sigma.
  • Importing users using the “link to an existing user in Okta” option is currently unsupported. As a workaround, please assign the Sigma app to the user you wish to link.