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

未關閉
#5,611 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
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 分鐘
30 天內合併 PR
3

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。