-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3838 from DaoCloud/lemon
- Loading branch information
Showing
6 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# OAuth 2.0 - 企业微信 | ||
|
||
如果您的企业或组织中的成员均管理在企业微信中,您可以使用全局管理提供的基于 OAuth 2.0 协议的身份提供商功能, | ||
而不必在 DCE 5.0 中为每一位组织成员创建用户名/密码。 您可以向这些外部用户身份授予使用 DCE 5.0 资源的权限。 | ||
|
||
### 具体操作步骤如下: | ||
|
||
1. 使用具有 `admin` 角色的用户登录 DCE 5.0。点击左侧导航栏底部的`全局管理` -> `用户与访问控制`。 | ||
|
||
![用户与访问控制](../../images/access.png) | ||
|
||
2. 在左侧导航栏选择`身份提供商`,点击`OAuth2.0`页签。填写表单字段,建立与企业微信的信任关系后,点击`保存`。 | ||
|
||
![Oauth2.0](../../images/oauth2.png) | ||
|
||
### 企业微信中对应的字段 | ||
|
||
!!! note | ||
|
||
对接前需要在企业微信管理后台中创建自建应用,如何创建自建应用[链接](https://open.work.weixin.qq.com/help2/pc/16892?person_id=1&searchData=) | ||
|
||
| 字段 | 描述 | | ||
| ------------ | ---------------| | ||
| 企业 ID | 企业微信的 ID | | ||
| Agent ID | 自建应用的 ID | | ||
| ClientSecret |自建应用的 Secret | | ||
|
||
企业微信 ID: | ||
|
||
![Oauth2.0](../../images/mybusiness.png) | ||
|
||
Agent ID 和 ClientSecret: | ||
|
||
![agent](../../images/selfapplication.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters