在公司内网部署的,需要配置http_proxy才能解析外网dns。配置了相关http_proxy的环境变量。
先执行lark-cli config init --new能够成功创建并配置新的飞书app
然后执行lark-cli auth login后报错
摘要:
域: sheets
权限: 常用权限
Scopes (7): docs:document:export, drive:file:download, sheets:spreadsheet.meta:read, ...
[lark-cli] [WARN] proxy detected: https_proxy=http://***@10.187.197.10:8080/ — requests (including credentials) will transit through this proxy. Set LARK_CLI_NO_PROXY=1 to disable proxy.
{
"ok": false,
"error": {
"type": "auth",
"message": "device authorization failed: Device authorization failed: The request is missing a required parameter: client_secret."
}
}
在公司内网部署的,需要配置http_proxy才能解析外网dns。配置了相关http_proxy的环境变量。
先执行
lark-cli config init --new能够成功创建并配置新的飞书app然后执行
lark-cli auth login后报错摘要:
域: sheets
权限: 常用权限
Scopes (7): docs:document:export, drive:file:download, sheets:spreadsheet.meta:read, ...
[lark-cli] [WARN] proxy detected: https_proxy=http://***@10.187.197.10:8080/ — requests (including credentials) will transit through this proxy. Set LARK_CLI_NO_PROXY=1 to disable proxy.
{
"ok": false,
"error": {
"type": "auth",
"message": "device authorization failed: Device authorization failed: The request is missing a required parameter: client_secret."
}
}