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

Ouverte
#5,611 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
52/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
macos, python
Domaine
authentication, cli

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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+).
Langage dominant
Python
Étoiles
11.5k
Forks
2k
Merge moyen
6 h 34 min
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/copilot-cli

Toutes les issues de github/copilot-cli

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.