组织的 SCIM 用户管理

为组织验证域名并设置 SAML 身份验证后,您可以生成 SCIM API 令牌。

本页相关主题

  • 功能

  • 要求

  • 配置 SCIM 用户管理

  • 删除 SCIM 集成

  • 限制

功能

通过向您的身份信息服务提供商提供 SCIM API 令牌,您可以通过您的身份信息提供商执行以下操作:

  • 创建用户

  • 停用用户

要求

在设置 SCIM 用户管理之前,您需要验证您的域名并创建 SAML 配置。您只能管理与已验证的域名关联的用户。

配置 SCIM 用户管理

  1. 在您的 Shopify 组织后台中,前往用户 > 安全

  2. 在 SCIM 集成部分中,点击生成 API 令牌

  3. 点击复制,将生成的令牌复制到剪贴板。

  4. 向您的身份信息服务提供商提供令牌。添加令牌的过程取决于您使用的身份信息服务提供商。

在 Okta 中完成 SCIM 配置

  1. 打开 Shopify Plus 应用。

  2. 点击登录选项卡。

    1. 应用程序用户名格式设置为电子邮件

    2. 单击保存

  3. 点击预配选项卡。

    1. 点击配置 API 集成

    2. 选中启用 API 集成,然后在提供的字段中粘贴 API 令牌。

    3. 点击测试 API 凭据。如果遇到错误,请验证您是否从 Shopify Plus 后台正确复制了 API 令牌。如果继续遇到错误,请联系 Shopify Plus 客服。

    4. 单击保存

在向您的身份服务提供商添加 API 令牌后,您可以通过该服务添加或删除用户。根据用户在 Shopify 和您的身份服务提供商中的用户状态,这可能会更改他们登录 Shopify 的方式。

用户状态在 Shopify 中产生的影响
您的组织中已存在的用户如果您在标识服务提供商中添加某位用户,则在满足以下所有条件时,该用户需要使用 SAML 身份验证登录:

  • 用户已存在于 Shopify 中

  • 用户已存在于您的组织中

  • 您使用特定用户强制措施

通过身份信息提供商删除用户访问权限的效果取决于用户的用户状态。如果您使用身份信息服务提供商删除了某位活跃用户的 Shopify 访问权限,则该用户会在您的组织中被暂停。如果您使用身份信息服务提供商永久删除某位用户,则可能会从您的组织中删除该用户,具体取决于您的身份信息提供商设置。
用户存在于 Shopify 中,但不存在于您的组织中如果您在标识服务提供商中添加某位用户,则还会将该用户添加到您的组织中,并且在满足以下所有条件时,该用户需要使用 SAML 身份验证登录:

  • 用户已存在于 Shopify 中

  • 您的特定组织中不存在该用户

  • 您使用必需特定用户强制措施

Shopify 中不存在的用户如果您在标识服务提供商中添加某位用户,则还会将该用户添加到您的组织中,并且在满足以下所有条件时,该用户需要使用 SAML 身份验证登录:

  • Shopify 中不存在该用户

  • 您使用必需特定用户强制措施

当用户第一次登录 Shopify 组织后台时,该用户必须通过身份信息提供商完成登录,而不是通过 Shopify 登录页面。

添加 API 令牌后,当您通过身份信息提供商或组织后台添加之前不存在于 Shopify 中的新用户时,您的新用户将被设为待处理状态。如果您的用户需要使用 SAML 进行登录,那么在使用您的身份信息提供商登录前,他们将保持待处理状态。

删除 SCIM 集成

如果您不再需要 SCIM 集成,则可以将其删除。此操作无法撤销。如果您需要重新激活集成,则需要生成新的 API 令牌。

步骤:

  1. 在您的 Shopify 组织后台中,前往用户 > 安全

  2. 在 SCIM 集成部分中,点击 API 令牌旁边的 ...

  3. 点击删除令牌

限制

无法通过标识服务提供商删除店主和组织所有者。必须先转让这两种类型的所有权,然后才可删除此类用户。如果您需要更改店主,则可以从 Shopify 后台完成此操作。如果您需要更改组织所有者,请联系 Shopify Plus 支持。

Shopify商户官网原文详情:

SCIM user management for your organization

After you've verified your domain and set up SAML authentication for your organization, you can generate a SCIM API token.

On this page

  • Features

  • Requirements

  • Configure SCIM user management

  • Removing SCIM integration

  • Restrictions

Features

Providing the SCIM API token to your identity service provider allows you to take the following actions through your identity provider:

  • Create users

  • Deactivate users

Requirements

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.

Configure SCIM user management

  1. In your Shopify organization admin, go to Users > Security.

  2. In the SCIM integration section, click Generate API token.

  3. Click Copy to copy the generated token to your clipboard.

  4. Provide the token to your identity service provider. The procedure for adding the token depends on which identity service provider you use.

Complete SCIM configuration in Okta

  1. Open the Shopify Plus app.

  2. Click the Sign On tab.

    1. Set the Application username format to Email.

    2. Click Save.

  3. Click the Provisioning tab.

    1. Click Configure API Integration.

    2. Check Enable API integration, and then paste the API token in the provided field.

    3. Click Test API Credentials. If you encounter an error, then verify that you have correctly copied the API token from your Shopify Plus admin. If you continue to encounter errors, then contact Shopify Plus support.

    4. Click Save.


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 statusEffect within Shopify
User already exists in your organizationIf 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:

  • the user already exists in Shopify

  • the user already exists in your organization

  • you use Specific users enforcement

The effect of removing a user's access through your identity provider depends on their user status. If you remove an active user's access to Shopify using your identity service provider, then they are suspended in your organization. If you permanently delete a user using your identity service provider, then they might be deleted from your organization, depending on your identity provider setup.
User exists in Shopify, but not your organizationIf 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:

  • the user already exists in Shopify

  • the user does not exist in your specific organization

  • you use Required or Specific users enforcement

User does not exist in ShopifyIf 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:

  • the user does not exist in Shopify

  • you use Required or Specific users enforcement

When the user signs in to the Shopify organization admin for the first time, then that user must do so through the identity provider, not through the Shopify login page.

After adding the API token, when you add a new user who did not previously exist in Shopify either through your identity provider or the organization admin, your new user is set to pending status. If your user is required to log in using SAML, then they will remain in pending status until they log in using your identity provider.

Removing 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:

  1. In your Shopify organization admin, go to Users > Security.

  2. In the SCIM integration section, click ... beside the API token.

  3. Click Delete token.

Restrictions

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.


文章内容来源:Shopify商户官方网站

(本文内容根据网络资料整理,出于传递更多信息之目的,不代表连连国际赞同其观点和立场)