aws / aws/amazon-q-developer-cli
bug: q login ignoring identity-provider/region flags
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 15.6.1
Expected behaviour
If I pass in the --identity-provider or --region flag, I'd expect a browser window or automatic login.
Actual behaviour
If I pass in the --identity-provider or --region flag, I'm given a prompt:
$ q login --license pro --identity-provider https://x-1234567890.awsapps.com/start --region us-east-1
✔ Enter Start URL · https://x-1234567890.awsapps.com/start
✔ Enter Region · us-east-1
Steps to reproduce
I'm unsure if this is a bug or misconfiguration on my part. I did find these PR's indicating this should work:
- https://github.com/aws/amazon-q-developer-cli/issues/1082
- https://github.com/aws/amazon-q-developer-cli/pull/1112
Environment
$ q diagnostics
[q-details]
version = "1.19.3"
hash = "84b82da54996570ac369ec69911e29b524099761"
date = "2025-10-29T21:11:53.813462Z (6d ago)"
variant = "full"
[system-info]
os = "macOS 15.6.1 (24G90)"
chip = "Apple M4 Max"
total-cores = 14
memory = "36.00 GB"
[environment]
cwd = "/Users/USER/projects"
cli-path = "/Users/USER/projects"
os = "Mac"
shell-path = "/opt/homebrew/Cellar/fish/4.1.2/bin/fish"
shell-version = "4.1.2"
terminal = "Ghostty"
install-method = "brew"
[env-vars]
PATH = "/Users/USER/.pyenv/shims:/Users/USER/.local/bin:/Users/USER/.asdf/shims:/Users/USER/.pyenv/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/.krew/bin:/Users/USER/go/bin:/Applications/Ghostty.app/Contents/MacOS:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/homebrew/bin:/opt/podman/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "0eb418e4ca7e41dd82fe635bdc52f992"
Q_PARENT = ""
Q_TERM = "1.19.3"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, q login --license pro --identity-provider ... --region us-east-1 auf dem gemeldeten macOS-Setup zu reproduzieren und die Verarbeitung der Flags des Befehls q login nachzuverfolgen. Als erledigt gilt die Aufgabe, wenn beide Flags ohne Eingabeaufforderung berücksichtigt werden und das erwartete Verhalten beim Login über den Browser oder automatisch auftritt; füge Tests hinzu oder aktualisiere die Abdeckung, falls die relevanten Login-Tests gefunden werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, rust
- Bereich
- authentication, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100