Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_code is not displayed anywhere during login, but needs to be verified #572

Closed
PacoVK opened this issue Sep 15, 2023 · 1 comment · Fixed by #573
Closed

user_code is not displayed anywhere during login, but needs to be verified #572

PacoVK opened this issue Sep 15, 2023 · 1 comment · Fixed by #573
Labels
bug Something isn't working

Comments

@PacoVK
Copy link
Contributor

PacoVK commented Sep 15, 2023

Output of aws-sso version:

AWS SSO CLI Version 1.13.1 -- Copyright 2021-2023 Aaron Turner
7c08e58ad2a2c941bfa42ad98b0429f3fefa1ca7 (v1.13.1) built at 2023-08-28T23:00:04+0000

Describe the bug:
I am asked to verify a code, but the code does not show up anywhere, so i cannot verify

To Reproduce:

  1. Logout from sessions aws-sso logout
  2. Login again via aws-sso-cli
  3. AWS asks me to verify a code

Expected behavior:
I get the code for verification displayed in my CLI. Currently only if i set AuthUrlAction: <print | clip> (as part of the URL)

Screenshots:
image

Desktop (please complete the following information):

  • OS: macOS
  • Version 13.5.2

Contents of ~/.aws-sso/config.yaml:

SSOConfig:
    foo:
        SSORegion: eu-central-1
        StartUrl: https://<redacted>.awsapps.com/start
        DefaultRegion: eu-central-1
DefaultRegion: eu-central-1
ConsoleDuration: 60
CacheRefresh: 8
AutoConfigCheck: true
UrlAction: open
ConfigProfilesUrlAction: open
LogLevel: error
HistoryLimit: 0
HistoryMinutes: 1440
ProfileFormat: '{{ StringReplace " " "-" .AccountAlias }}:{{ .RoleName }}'
@PacoVK PacoVK added the bug Something isn't working label Sep 15, 2023
@PacoVK
Copy link
Contributor Author

PacoVK commented Sep 15, 2023

Additional context using aws sso login it prints:
image

While adding the code to the URL as param is convenient for the user, it is a bit confusing that the code actually is not printed on the CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant