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

Offen
#5,611 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
macos, python
Bereich
authentication, cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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+).
Vorherrschende Sprache
Python
Sterne
11.5k
Forks
2k
Ø Merge
6 Std. 34 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/copilot-cli

Alle Issues in github/copilot-cli

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.