SCIM user management
After you verify your domain and set up Security Assertion Markup Language (SAML) authentication for your organization, you can generate a System for Cross-domain Identity Management (SCIM) API token. Generating SCIM tokens for users is available only to organizations on the Shopify Plus plan.
On this page
Features
Providing the SCIM API token to your identity service provider allows you to take the following actions through your identity provider:
- Create users
- Assign or update groups
- Deactivate users
Requirements for SCIM management
Before you set up SCIM user management, you need to verify your domain and create a SAML configuration. You can only manage users who are associated with a domain that you've verified for your organization.
Considerations for SCIM management
Review the following considerations for using SCIM management for your users:
- Users created through SCIM don't receive an invitation email. The user must log in through the identity service provider to activate their account.
- After adding the API token, when you add a new user who didn't previously exist in Shopify either through your identity provider or Users settings, your new user is set to Pending status. If your user is required to log in using SAML, then they remain in Pending status until they log in using your identity provider.
- The group name in your identity service provider and the group name in your Shopify admin must be identical. The group name in the identity service provider must match the optional custom Group attribute used to sync with Shopify, not the standard identity service provider Groups attribute.
- Store owners and organization owners can't be removed through an identity service provider. Both types of ownership must be transferred before the user can be removed. If you need to change the store owner, then you can do so from your Shopify admin. If you need to change the organization owner, then contact Shopify Plus Support.
Configure SCIM user management
To configure SCIM management, you need to generate an API token from your Shopify admin, and then complete the configuration in your chosen identity service provider.
From your Shopify admin, go to Settings > Users.
Click Security.
In the SCIM integration section, click Generate API token.
Click Copy to copy the generated token to your clipboard.
Provide the token to your identity service provider. The procedure for adding the token depends on which identity service provider you use.
Okta
Complete SCIM configuration in Okta
- Open the Shopify Plus app.
- Click the Sign On tab.
- Set the Application username format to Email.
- Click Save.
- Click the Provisioning tab.
- Click Configure API Integration.
- Select Enable API integration, and then paste the API token in the provided field.
- Click Test API Credentials. If you encounter an error, then verify that you have correctly copied the API token. If you continue to encounter errors, then contact Shopify Plus Support.
- Click Save.
OneLogin
Complete SCIM configuration in OneLogin
- Open the Shopify Plus app.
- Click the Configuration menu item.
- In the SCIM Bearer Token field, paste the API token.
- Click Save.
- Click the Parameters menu item.
- Set the SCIM Username default value to Email.
- Click Save.
Entra
Complete SCIM configuration in Entra
- Open the Shopify Plus app.
- Click the Provisioning menu item.
- Click Get Started.
- In the Provisioning Mode menu, select Automatic.
- In the Tenant URL field, enter the base url
https://shopifyscim.com/scim/v2/
. - In the Secret Token field, enter the API token.
- Click the Test Connection button. If you encounter an error, then verify that you have correctly copied the API token. If you continue to encounter errors, then contact Shopify Plus Support.
- Click Save.
- Change the Provisioning Status switch to On.
- Click Save.
Managing users with SCIM
After your API token has been added to your identity service provider, you can add or remove users through that service. Depending on the status of that user within Shopify and your identity service provider, this can change how they log in to Shopify.
User status | Effect within Shopify |
---|---|
User already exists in your organization | If you add a user in your identity service provider, then the user is required to log in using SAML authentication if all the following are true:
|
User exists in Shopify, but not your organization | If you add a user in your identity service provider, then the user is added to your organization and required to log in using SAML authentication if all the following are true:
|
User does not exist in Shopify | If you add a user in your identity service provider, then the user is added to your organization and is required to log in using SAML authentication if all the following are true:
|
After adding the API token, when you add a new user who didn't previously exist in Shopify either through your identity provider or Organization settings, your new user is set to Pending status. If your user is required to log in using SAML, then they remain in Pending status until they log in using your identity provider.
Group assignment in SCIM
After you complete SCIM configuration, you can optionally assign groups to SCIM users through your identity service provider. Before you assign a group to a user, verify that the group exists in your organization. If the group hasn't been created in your Shopify admin, then existing SCIM users aren't updated.
Assigning groups in supported identity service providers
Okta Group Push isn't supported with Shopify Plus. For more information, review the official Okta integration page.
Group assignment is supported in the Entra, OneLogin, and Okta apps. Group name creation and assignment differs for each identity provider.
Before you assign a group to a user, verify that the group exists in your Shopify admin.
Okta
Assign groups in Okta
- Open the Shopify Plus app in Okta.
- Click the Assignments tab.
- Click Assign to add a user or edit an existing user's attributes.
- In the modal that opens, add or update the Shopify group name in the Role Name (Optional) field.
- Click Save.
OneLogin
Assign groups in OneLogin
- Open the Shopify Plus app in OneLogin.
- In the navigation bar, click Users.
- Click New User to add a user, or click a user to edit or add the group name.
- Under User info in the side navigation bar, find the Custom Fields section.
- Add the group name in the Role Name (Optional) field.
- Click Save User.
Entra
Assign groups in Entra
- Sign in to the Entra portal.
- Create a role for your Shopify Plus app by following this guide provided by Microsoft. The role name must be the same as the group name in your Shopify admin.
- Assign the role to users in your Shopify Plus app by following this guide provided by Microsoft.
- To test that your group assignment works, provision the user on demand.
Assigning groups in unsupported identity service providers
If your identity service provider doesn't have a Shopify Plus app, then you need to manually edit your SCIM configuration. Before you begin, verify that your identity service provider can add groups as a SCIM field.
The SCIM JSON body must include a key called roles
. The roles
key must be an array which includes a hash that stores the role name. If multiple role name hashes are provided, then only the last role name hash is used to assign a role. If the role name is invalid, or the SCIM JSON body doesn't match the above template, then groups aren't assigned or updated.
To assign or update a SCIM group, the JSON body in POST
,PUT
, and PATCH
requests must include the following:
{
"name": {
"givenName": "given_name"
"familyName": "family_name"
},
"userName": "email",
"roles": [{"value": "role_name"}]
}
Unassigning groups
You can unassign a group from the Settings > Users page of your Shopify admin. Learn more about managing groups.
Remove SCIM integration
If you no longer require a SCIM integration, then you can remove it. This action can't be undone. If you need to reactivate your integration, then you need to generate a new API token.
Steps:
From your Shopify admin, go to Settings > Users.
Click Security.
In the SCIM integration section, click
next to the API token.
Click Delete token.