> For the complete documentation index, see [llms.txt](https://docs.dispel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers/ping-identity.md). Agents can also search and read this documentation through its [MCP server](https://docs.dispel.com/~gitbook/mcp).

# PingIdentity

将 PingIdentity 作为你的联合单点登录身份提供方，使用户通过 OAuth（OIDC）或 SAML 使用其现有企业凭据访问 Dispel。

## 概述

将 PingIdentity（Ping 的联合身份平台）连接为组织的身份提供方。连接后，用户即可使用现有的企业凭据通过单点登录访问 Dispel。你可以通过以下方式连接 Ping： **OAuth (OIDC)** 或 **SAML**.

本页介绍 Ping 专属的设置。有关适用于所有提供方的通用行为（包括用户如何登录、群组映射、MFA 和断开连接），请参阅 [身份提供方](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers.md).

{% hint style="info" %}
**位置。** 以组织管理员身份登录并打开 **Settings → Integrations** （或专门的 **Settings → Authentication** 页面）。PingIdentity 显示在 **Identity & Authentication (IdP / SSO)** 部分。点击其卡片上的 **连接** 以开始设置。
{% endhint %}

## 开始之前

* 你需要在 Ping 环境中配置 IdP 端设置，使用 **PingOne** 或 **PingFederate** ，因此需要拥有相应的管理访问权限。
* 选择一种协议： **OAuth (OIDC)** 或 **SAML**。请参阅 [选择协议](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers.md#choosing-a-protocol).
* 确保通过 Ping 登录的用户已在 Dispel 中 **受邀加入组织** 。SSO 可对用户进行身份验证，但不会自行授予访问权限。

{% hint style="warning" %}
**一次只能连接一个提供方。** 如果组织已连接到其他身份提供方，请先断开连接，再连接 PingIdentity。
{% endhint %}

## 通过 OAuth (OIDC) 连接

#### 在 PingIdentity 中

1. 在 Ping 环境中，为 Dispel 创建一个新的 **OIDC / Web** 应用程序。
2. 将 **重定向 URI** 设置为你的 Dispel 地址后接 `/oauth/login-callback` ，例如 `https://app.dispel.com/oauth/login-callback`。如果不确定，请联系 Dispel 代表确认适用于你所在环境的准确地址。
3. 为该应用程序生成 **客户端密钥** 。
4. 记下应用程序的 **客户端 ID**, **客户端密钥**，以及您的 Ping OAuth/OIDC 颁发者端点。

#### 在 Dispel 中

1. 点击 **连接** PingIdentity 卡片上的 **选择“身份验证协议”→“OAuth”**.
2. 填写以下字段：

| 字段          | PingIdentity 中的值                   |
| ----------- | ---------------------------------- |
| **客户端 URL** | 您的 Ping OAuth/OIDC 颁发者端点（令牌在此处颁发）。 |
| **客户端 ID**  | 应用程序的 **客户端 ID**.                  |
| **客户端密钥**   | 应用程序的 **客户端密钥**.                   |
| **组织标识符**   | 您自行选择的唯一标识符；用户在登录屏幕上输入该标识符。        |

3. 点击 **保存设置**.

## 使用 SAML 连接

#### 在 PingIdentity 中

1. 在您的 Ping 环境中，为 Dispel 创建一个新的 **SAML** 应用程序。
2. 在 SAML 配置中，粘贴 Dispel 的 SAML 表单顶部显示的值：
   * **ACS URL / 断言使用者服务 URL** ← Dispel 的 **断言使用者服务 URL**.
   * **实体 ID / 受众** ← Dispel 的 **服务提供商 (SP) 实体 ID**.
3. 在 Ping 应用程序的 SAML / 连接详细信息中，获取以下信息：
   * 该 **单点登录服务 URL** → Dispel 的 **SSO URL**.
   * 该 **IdP 实体 ID / 颁发者** → Dispel 的 **身份提供商实体 ID**.
   * 该 **签名证书** → Dispel 的 **Base64 签名证书**.
4. 将应用程序授权给需要访问权限的用户或群组。

#### 在 Dispel 中

1. 点击 **连接** PingIdentity 卡片上的 **选择“身份验证协议”→“SAML”**.
2. 复制 **服务提供商 (SP) 实体 ID** 和 **断言消费者服务 URL** 显示在表单顶部（使用 **复制 ID** / **复制 URL**）填入 Ping，如上所示。
3. 填写以下字段：

| 字段              | PingIdentity 中的值             |
| --------------- | ---------------------------- |
| **SSO URL**     | 即 **单点登录服务 URL**.            |
| **身份提供商实体 ID**  | 即 **IdP 实体 ID / 颁发者**.       |
| **Base64 签名证书** | Ping 签名证书。粘贴证书，或使用 **上传证书**. |
| **组织标识符**       | 您自行选择的唯一标识符；用户在登录屏幕上输入该标识符。  |

4. 点击 **保存设置**.
5. 点击 **测试连接**。Dispel 会将你重定向到 Ping 进行登录，然后显示它收到的电子邮件地址和姓名。如果测试失败，请确认这些值与 Ping 应用中的值一致，并确认测试用户已受邀加入你的组织。

## 连接后

* **用户登录时** 在 Dispel 登录页面输入你的组织标识符，然后通过 Ping 进行身份验证。请参阅 [用户登录方式](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers.md#how-users-sign-in).
* **在 Ping 中强制执行的** 多重身份验证会在登录期间生效；Dispel 的电子邮件一次性验证码不适用于 SSO 用户。请参阅 [SSO 与多重身份验证](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers.md#sso-and-multi-factor-authentication).
* **如需切换协议或提供商**，请先断开连接。请参阅 [切换或断开提供商](https://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers.md#switching-or-disconnecting-a-provider).

## 常见问题

<details>

<summary>PingOne 和 PingFederate 都能使用吗？</summary>

可以。在你使用的 Ping 产品中创建 OIDC 或 SAML 应用，然后在 Dispel 中填写相应值。无论使用哪种产品，Dispel 端的字段都相同。

</details>

<details>

<summary>使用 Ping 时应该选择哪种协议？</summary>

两种都可以。选择与你在 Ping 中创建的应用相匹配的协议：OAuth 应用使用 OIDC，SAML 应用使用 SAML。

</details>

<details>

<summary>SAML 连接测试失败了。应该检查哪些内容？</summary>

请确认 SSO URL、IdP 实体 ID 和证书与 Ping 应用中的配置一致；已将 Dispel 的 SP 实体 ID 和 ACS URL 填入 Ping 的 SAML 配置；并且测试用户已获准访问 Ping 应用，且已受邀加入你的 Dispel 组织。

</details>


---

# 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://docs.dispel.com/documentation/documentation-zh/bao-hu-yu-zhi-li/identity-providers/ping-identity.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.
