---
schema_version: "1"
id: 28ad446806cc87b67e4b4f745e2c1d8f5751be1e58d8915be8789154e727bb87
title: 使用 Tableau 已连接应用进行应用程序集成
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/connected_apps.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/connected_apps.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 57b1019c3248d23cd22e14c60772da05d76651e8c4974e47de2392df92e5a519
description: Use Tableau connected apps to establish trust for embedding content and authorizing REST API access.
---
[跳转到主要内容](#main-content)

# 使用 Tableau 已连接应用进行应用程序集成

从 Tableau Server 2022.1 ，Tableau 已连接应用通过促进您的 Tableau Server 站点与嵌入 Tableau 内容的自定义应用程序之间建立明确的信任关系，实现无缝且安全的身份验证体验。，Tableau 已连接应用扩展了其功能以支持 REST API 授权。自 2023 年 10 月起，Tableau 元数据 API 尊重使用已连接应用进行的 REST API 授权。截至 2025 年 2 月，Tableau VizQL Data Service 已支持通过已连接应用进行 REST API 授权。

**注意：**Tableau 已连接应用和 Salesforce 已连接应用不同并且提供不同的功能。如今，Tableau 已连接应用已针对在外部应用程序中嵌入 Tableau 视图和指标进行了优化，并用于授权对 Tableau REST API 的访问。（2023 年 10 月，Tableau 取消了将指标嵌入到 Tableau Cloud 和 Tableau Server 版本 2023.3 的功能）。

您可以配置两种类型的已连接应用：直接信任或 OAuth 2.0 信任。

### 直接信任

使用_直接信任_，您可以：

- 限制对哪些内容可以嵌入以及该内容可以嵌入的位置的访问
- 为用户提供使用单点登录 (SSO) 访问嵌入内容的能力，而不必与身份提供程序 (IdP) 集成
- 为用户提供直接从外部应用程序进行身份验证的能力
- 使用 JSON Web 令牌 (JWT) 以编程方式代表用户授权访问 Tableau REST API 和 Tableau 元数据 API （从 Tableau Server 2023 年 10 月版开始）
- 使用 JSON Web 令牌 (JWT) 以编程方式代表用户授权访问 Tableau REST API 和 Tableau VizQL Data Service（从 Tableau Server 2025 年 2 月版开始）
- 确定用户或应用程序可执行 Tableau REST API 能力的范围
- 启用其他功能，比如：
    - 使用断言的动态组成员身份（从 Tableau Server 2024.2 开始）
    - 用户属性函数（从 Tableau Server 2025.1 开始）
    - SCIM 的外部令牌（从 Tableau Server 2025.3 开始）

有关此已连接应用类型的更多信息，请参见[使用直接信任配置已连接应用](https://help.tableau.com/current/server-linux/zh-cn/connected_apps_direct.htm)。

### OAuth 2.0 信任

使用 _OAuth 2.0 信任_，您可以：

- 限制对哪些内容可以嵌入以及该内容可以嵌入的位置的访问
- 为用户提供使用单点登录 (SSO) 通过身份提供程序 (IdP) 访问嵌入内容的能力
- 使用标准 OAuth 2.0 标准协议提供访问
- 以编程方式代表用户授权访问 Tableau REST API 和元数据 API（从 Tableau Server 2023 年 10 月版开始）
- 以编程方式代表用户授权访问 Tableau REST API 和 VizQL Data Service（从 Tableau Server 2025 年 2 月版开始）
- 确定用户或应用程序可执行 Tableau REST API 能力的范围
- 启用其他功能，比如：
    - 使用断言的动态组成员身份（从 Tableau Server 2024.2 开始）
    - 用户属性函数（从 Tableau Server 2025.1 开始）
    - SCIM 的外部令牌（从 Tableau Server 2025.3 开始）

有关已连接应用类型的详细信息，请参见[使用 OAuth 2.0 信任配置已连接应用](https://help.tableau.com/current/server-linux/zh-cn/connected_apps_eas.htm)。

## 此部分中的其他文章