> 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.
