99designs / aws-vault

A vault for securely storing and accessing AWS credentials in development environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-vault: error: login: Failed to get credentials: operation error SSO OIDC: StartDeviceAuthorization, https response error StatusCode: 400

yanis-incepto opened this issue · comments

Hello, When I try to use aws-vault with google Apps SSO, it fails and send me a 400 error. Could someone please help me ?

  • I am using the latest release of AWS Vault
    Content of aws/config :
    [profile test-aws-vault] sso_start_url = someurl sso_region = eu-west-1 sso_account_id = some_account_id sso_role_name = some_role_name
  • I have provided the debug output using aws-vault --debug (redacted if necessary)
    yanis@debian-yanis:~$ aws-vault login test-aws-vault --debug 2022/06/08 10:33:19 aws-vault v6.6.0 2022/06/08 10:33:19 [keyring] Considering backends: [secret-service] 2022/06/08 10:33:19 Loading config file /home/yanis/.aws/config 2022/06/08 10:33:19 Parsing config file /home/yanis/.aws/config 2022/06/08 10:33:19 Profile 'default' missing in config file 2022/06/08 10:33:19 Created new OIDC client (expires at: 2022-09-06 10:33:19 +0200 CEST) aws-vault: error: login: Failed to get credentials: operation error SSO OIDC: StartDeviceAuthorization, https response error StatusCode: 400, RequestID: 2711c304-7420-42af-a4c3-75c87463c51e, InvalidRequestException:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.