Copilot App: Adding internal Github hosted marketplace opens GitHub device page without displaying authentication code
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
Adding an internal GitHub plugin marketplace through the Copilot App's Customize > Manage marketplaces UI starts GitHub device authentication and opens https://github.com/login/device, but the Copilot App never displays the device code. The GitHub page therefore asks for a code that the user has no way to obtain, and the marketplace cannot be added.
The user already has access to the internal repository. Authenticated GitHub CLI access to the repository succeeds, while anonymous access returns 404 as expected for an internal repository.
Affected version
GitHub Copilot App / bundled Copilot CLI 1.0.84-5
Steps to reproduce the behavior
- On macOS, open the GitHub Copilot App.
- Open Customize.
- Open Manage marketplaces.
- Enter the URL of an internal GitHub repository containing a valid
.claude-plugin/marketplace.json, for examplehttps://github.com/<organization>/<repository>. - Click Add.
- When prompted, start GitHub authentication.
- Observe that the browser opens GitHub's device activation page and asks for a code, but no device code is displayed anywhere in the Copilot App UI.
Expected behavior
The Copilot App should prominently display the one-time GitHub device code before or while opening the device activation page, and keep it visible until authentication completes or is cancelled.
Alternatively, marketplace access should reuse an existing authenticated Git credential or GitHub CLI session when available.
Actual behavior
GitHub's device activation page opens and waits for a code, but the Copilot App does not show the code. The flow cannot be completed.
Additional context
- Operating system: macOS
- Repository visibility: internal
- The repository is accessible to the current user and contains a valid marketplace manifest.
gh repo view <organization>/<repository>succeeds for the same user.- APM can resolve the same marketplace through the authenticated command-line path.
- This appears related to, but is distinct from, #4103: the App now initiates an authentication flow, but its Customize UI does not surface the required device code.
- Screenshots show the marketplace URL entered in Manage marketplaces followed by GitHub's Enter code page with no corresponding code visible in the Copilot App.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルもテストも指定されていません。Customize > Manage marketplaces の認証フローから開始し、GitHub device page がどのように起動されるかを追跡してください。関連する issue #4103 をコンテキストとして使用します。認証の完了またはキャンセルまで、Copilot App にワンタイムデバイスコードが表示され、内部 marketplace を追加できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, macos
- 領域
- authentication, cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100