On OSX, Microsoft Entra sign-in window ignores keyboard input and paste (v1.0.117)

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
macos, python

調査の方向性

Start with the copilot CLI's /login entry point and follow the macOS Microsoft Entra sign-in flow. The report names no implementation files or tests, so first locate where the external sign-in window is created and how keyboard events are forwarded. Reproduction should use copilot, then /login and “Your organization (Microsoft Entra)”; completion means the email field accepts typing and Cmd+V, allowing authentication to finish.

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

説明

area:authentication
Describe the bug

Choosing "Your organization (Microsoft Entra)" in /login opens a Microsoft "Sign in" window, but I can't type or paste text into it. The email field is displayed with a cursor, but keystrokes and Cmd+V do nothing. I can click through to the "Organization" sign-on dialog, but since I can't type/paste, I cannot login using copilot-cli.

Affected version

GitHub Copilot CLI 1.0.117

Steps to reproduce the behavior
  1. Install Copilot CLI 1.0.117 on macOS.
  2. Run copilot, then /login.
  3. Select "Your organization (Microsoft Entra)".
  4. A Microsoft sign-in window opens ("Sign in", "Email, phone, or Skype").
  5. Try to type an email address, then try Cmd+V to paste one.
Expected behavior

Expected behavior

The sign-in window accepts keyboard input so I can sign in with my Entra credentials.

Actual behavior

No keyboard input or paste reaches the window. The sign-in can't be completed. Note that I am able to click buttons (that input is accepted).

What I've tried

  • Terminal.app instead of iTerm2 (same result)
  • iTerm2 Secure Keyboard Entry toggled on/off: no change in either state
  • Logged out of gh completely and confirmed no GH_TOKEN, GITHUB_TOKEN, or COPILOT_GITHUB_TOKEN is set (same result)
  • Restarted the CLI
Additional context

Environment

  • Copilot CLI: 1.0.117 (installed via curl)
  • macOS: Golden Gate (27.2.1), Apple silicon
  • Terminals tried: iTerm2 and Terminal.app (same behavior in both)

Additional context

  • Entra sign-in works normally with the same account in the Microsoft Copilot app on this Mac, so Entra and network access are fine.
  • Entra sign-in is documented as supported on macOS in public preview (CLI 1.0.113+).
主要言語
Python
スター
11.5k
フォーク
2k
平均マージ
6時間 34分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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