本指南介绍如何在 Cloudflare One 中将 DocuSign 配置为 SAML 应用程序。
-
在 Cloudflare 仪表板 ↗中,转到 Zero Trust > Access controls(访问控制)> Applications(应用程序)。
-
选择 Create new application(创建新应用程序)。
-
选择 SaaS application(SaaS 应用程序)。
-
使用以下配置:
- 将 **Application(应用程序)**设置为 DocuSign。
- 在 **Entity ID(实体 ID)**和 **Assertion Consumer Service URL(断言使用者服务 URL)**中输入占位符值(例如,
https://example.com)。我们稍后会回来更新这些值。 - 将 **Name ID format(名称 ID 格式)**设置为:Unique ID。
-
DocuSign 需要 SAML 属性来执行即时(Just In Time)用户配置。确保您正从您的 IdP 收集 SAML 属性:
- Group
- username
- department
- firstName
- lastName
- phone
-
然后,可以将这些 IdP SAML 值映射到以下 DocuSign SAML 属性:
- Surname
- Givenname
-
设置 Access 策略(例如,创建基于「电子邮件以 @example.com 结尾」的策略)。
-
复制并保存 SSO endpoint(SSO 端点)、**Entity ID(实体 ID)**和 Public key(公钥)。
-
将公钥转换为指纹:
- 复制 **Public key(公钥)**值。
- 将公钥粘贴到 VIM 或其他代码编辑器中。
- 将该值包裹在
-----BEGIN CERTIFICATE-----和-----END CERTIFICATE-----之中。 - 将文件扩展名设置为
.crt并保存。
-
确保您在 DocuSign 中声明了域。
-
从 DocuSign 管理员仪表板中,选择 Identity Providers(身份提供商)。
-
在 Identity Providers 页面上,选择 ADD IDENTITY PROVIDER(添加身份提供商)。使用保存的 Access 应用程序值进行以下映射:
- Name(名称):选择您想要的名称。
- Identity Provider Issuer(身份提供商签发者):Entity ID。
- Identity Provider Login URL(身份提供商登录 URL):Assertion Consumer Service URL。
-
保存身份提供商。
-
将您的证书上传到 DocuSign Identity Provider(DocuSign 身份提供商) 菜单。
-
配置您的 SAML 属性映射。Attribute Names 应与您 Access 应用程序中的 **IdP Value(IdP 值)**相匹配。
-
返回身份提供商屏幕,选择 Actions(操作)> Endpoints(端点)。复制并保存以下内容:
- Service Provider Issuer URL(服务提供商签发者 URL)。
- Service Provider Assertion Consumer Service URL(服务提供商断言使用者服务 URL)。
- 返回 Access controls(访问控制)> **Applications(应用程序)**下的 DocuSign 应用程序。
- 选择 Edit(编辑)。
- 使用以下映射:
- Entity ID(实体 ID)→ Service Provider Issuer URL。
- Assertion Consumer Service URL(断言使用者服务 URL)→ Service Provider Assertion Consumer Service URL。
- 保存应用程序。
准备就绪后,为您的 DocuSign 账户启用 SSO,您将能够通过 Cloudflare SSO 和您的身份提供商登录到 DocuSign。