docs: update redirect URL configuration for device flow login
This commit is contained in:
@@ -92,7 +92,14 @@ make build
|
||||
|
||||
### 步骤 2:配置重定向 URL
|
||||
|
||||
进入应用 → **安全设置**,在「重定向 URL」中输入 `http://127.0.0.1` 并保存。
|
||||
进入应用 → **安全设置**,在「重定向 URL」中添加以下地址并保存:
|
||||
|
||||
```
|
||||
http://127.0.0.1
|
||||
https://login.dingtalk.com
|
||||
```
|
||||
|
||||
> `http://127.0.0.1` 用于本地浏览器登录;`https://login.dingtalk.com` 用于 `--device` 设备流登录(Docker 容器、远程服务器等无浏览器环境)。建议两个都配置。
|
||||
|
||||
<details>
|
||||
<summary>查看截图</summary>
|
||||
|
||||
+8
-1
@@ -92,7 +92,14 @@ Go to the [Open Platform Console](https://open-dev.dingtalk.com/fe/app?hash=%23%
|
||||
|
||||
### Step 2: Configure Redirect URL
|
||||
|
||||
Go to app settings → **Security Settings**. Enter `http://127.0.0.1` as the redirect URL and save.
|
||||
Go to app settings → **Security Settings**. Add the following redirect URLs and save:
|
||||
|
||||
```
|
||||
http://127.0.0.1
|
||||
https://login.dingtalk.com
|
||||
```
|
||||
|
||||
> `http://127.0.0.1` is for local browser login; `https://login.dingtalk.com` is for `--device` device-flow login (Docker containers, remote servers, and other headless environments). We recommend configuring both.
|
||||
|
||||
<details>
|
||||
<summary>View screenshot</summary>
|
||||
|
||||
Reference in New Issue
Block a user