> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/zhang-hu-yu-ji-fei/sso-and-saml/sso-members-vs-non-sso.md).

# SSO 成员与非 SSO 成员

使用与你的 SAML 身份提供商中使用的电子邮件地址创建了 GitBook 账户，或者在配置 SAML 之前已加入你组织的用户，可能会看到他们的 SSO 登录被阻止，并收到一条提示他们“*使用你现有的凭据登录*":

### 消息的来源和安全注意事项

我们 SAML SSO 实现的首要原则是安全。

如果一个用户账户是使用电子邮件地址创建的 `bob@company.com`，随后 Bob 尝试使用公司 SAML 登录， **GitBook 无法验证身份提供商返回的电子邮件地址的完整性** 因此无法将其认证为当前账户 `bob@company.com`.

为了防止创建两个关联到同一 `bob@company.com` 电子邮件地址的账户， **GitBook 会提示用户应使用其原始账户登录。随后，由组织管理员决定如何处理这种情况**:

通过在用户账户上启用 SSO，组织管理员向 GitBook 表明，该账户的电子邮件地址与您 SAML 身份提供商中的个人资料之间的关系是可信的。

### 补救措施

当用户看到其 SSO 登录未成功，并出现“使用你现有的凭据登录”这条消息时，组织管理员可以采取措施授权他们。

#### 如果该用户账户已经是组织成员：

* 组织管理员可以在管理仪表板中为你的组织成员启用 SSO。下次，该用户账户将被授权通过 SSO 流程登录该组织。

或

* 用户可以使用最初用于创建账户的凭据登录其账户。例如，点击“继续使用电子邮件”以接收电子邮件登录链接。
* 不会自动为该用户启用 SSO 登录，组织管理员必须从管理仪表板中显式启用它。

#### 如果该用户账户尚未成为组织成员：

* 组织管理员应通过在管理仪表板中邀请其电子邮件地址，将该用户账户添加到组织中。然后即可直接为该用户账户启用 SSO 登录。

### 为成员启用 SSO 登录

组织管理员可以通过将成员的账户与 SSO 关联来为其启用 SSO 登录。这样做表明，GitBook 可以信任该用户账户确实与你提供商中的身份相关联。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/zh/zhang-hu-yu-ji-fei/sso-and-saml/sso-members-vs-non-sso.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
