Authentication fail

オープン
#2,818 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
go

調査の方向性

The failure happens in the device-flow login path of lark-cli auth login, which prints the verification URL and then polls for authorization. Start by finding where the CLI prints the authorization error and maps the server's authentication response to output, and reproduce the flow to see whether the QR code is missing for a separate reason. The issue does not say what the CLI should change, so first confirm with a maintainer whether this is an organization policy restriction the CLI should report more clearly, or a defect in the flow. Done means the cause is identified and the expected behavior is agreed.

索引モデルが issue の本文から書いたものです。

説明

bug domain/auth

[权限问题]
在执行 lark-cli auth login后,终端没显示二维码只显示连接
连接网页显示如下

Image

cli返回结果如下

在浏览器中打开以下链接进行认证:

  https://accounts.feishu.cn/oauth/v1/device/verify?flow_id=O0h6WN96dZkKOOOOOOOOOO0IH-qZDbpvVcBEyxG01Zmy&user_code=SCFN-KVRK

等待用户授权...
{
  "ok": false,
  "error": {
    "type": "authentication",
    "subtype": "unknown",
    "message": "authorization failed: Unable to authorize. These permissions are restricted by your organization's security policy."
  }
}
主要言語
Go
スター
18.2k
フォーク
1.4k
平均マージ
1日 3時間
マージ済み PR(30日)
18

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

larksuite/cli のほかの issue

larksuite/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。