Qeasy Cloud
Get Started

明道开放平台OAuth2认证配置教程

Source: Qeasy Cloud550 views

1、登录明道开放平台

访问明道开放平台,用你的明道账号登录。

upl-image-previewurl=//pic.qeasy.cloud/2023-05-25/1685007006-39363-111.gif

2、填写应用信息

在页面上输入你应用的相关信息。

upl-image-previewurl=//pic.qeasy.cloud/2023-05-25/1685007057-748574-1121.jpg

3、获取API令牌

进入应用详情页,找到并记录下你的API令牌。

upl-image-previewurl=//pic.qeasy.cloud/2023-05-25/1685007163-211480-121212.jpg

4、拼接Oauth2用户认证URL

使用以下接口进行Oauth2用户认证,获取请求验证码code:

http://open.mingdao.com/api/oauth2/authorize
https://api.mingdao.com/oauth2/authorize?app_key=[APP_Key]&redirect_uri=[Redirect_URI]

其中:

  • App_Key:之前获得的App_Key
  • Redirect_URL:创建应用时填写的回调地址(这里以Google为例)

在浏览器中输入以下地址:

https://api.mingdao.com/oauth2/authorize?app_key=C7276DB7C44D&redirect_uri=http://www.baidu.com

![upl-image-previewurl=//pic.qeasy.cloud/2023-05-25/1685007288-542826-2131.png](//pic.qeasy.cloud/2023

Copyright Notice

The article "明道开放平台OAuth2认证配置教程" is original content owned by 广东轻亿云软件科技有限公司. Reposting, quoting, copying or mirroring is strictly prohibited without written authorization. Please contact us for authorization and credit the author and source (including the original link) prominently.