You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I run assume the 1st time of the day i get the following response:
> assume
? Please select the profile you would like to assume: ${profile}
[i] To assume this profile again later without needing to select it, run this command:
> assume ${profile}
[✘] error refreshing AWS IAM Identity Center token: operation error SSO OIDC: CreateToken, https response error StatusCode: 400, RequestID: 12334, InvalidGrantException:
[i] If the browser does not open automatically, please open this link: https://device.sso.eu-west-1.amazonaws.com/?user_code={redacted}
[i] Awaiting AWS authentication in the browser
[i] You will be prompted to authenticate with AWS in the browser, then you will be prompted to 'Allow'
[i] Code: {redacted}
{"Version":1,"AccessKeyId":"${AccesskeyID}","SecretAccessKey":"${secretaccesskey}","SessionToken":"IQ...redacted...30F+/paO7CmYqj1CZeL2ATryApF5FvcniUq4mDxR4qNvSw0lEA=","Expiration":"2024-08-07T22:16:52+02:00"}
, error: invalid character '\x1b' looking for beginning of value
I can't get anything from my aws account. Running aws s3 ls returns something like invalid token
When I then do another assume action
❯ assume
? Please select the profile you would like to assume: ${profile}
[i] To assume this profile again later without needing to select it, run this command:
> assume ${profile}
[✔] [${profile}](eu-central-1) session credentials will expire in 1 hour
Things work just fine.
I am using WSL an granted is installed using brew.
Can it be that something goes wrong in the fetching of the token on the first try? Apparently i get a '\x1b' character that is not expected but I'm unsure at what part this gets included.
The token I get at the first try does seem to be valid.
The text was updated successfully, but these errors were encountered:
Whenever I run
assume
the 1st time of the day i get the following response:I can't get anything from my aws account. Running
aws s3 ls
returns something likeinvalid token
When I then do another
assume
actionThings work just fine.
I am using WSL an granted is installed using
brew
.Can it be that something goes wrong in the fetching of the token on the first try? Apparently i get a
'\x1b'
character that is not expected but I'm unsure at what part this gets included.The token I get at the first try does seem to be valid.
The text was updated successfully, but these errors were encountered: