-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
aws sso login failed on WSL2 #8516
Comments
I have encountered similar problems. |
@kyoh86 Thanks, uninstalling xdg-open via What I tried before: #!/bin/sh
exec /usr/bin/gio open $@ didn't help.. |
This is an artifact of running under WSL2. On regular Linux,
Now |
This is how I used to do it in Fedora 35, and and earlier versions all around, but something in recent versions of something became incompatible.. even |
Closing as this isn't a bug with the CLI; follow the workaround mentioned above. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
For future visitors, we also have the |
Describe the bug
I did setup according to documentation https://docs.aws.amazon.com/cli/latest/userguide/sso-configure-profile-token.html#sso-configure-profile-token-auto-sso-session
Expected Behavior
Expected
aws sso
will authorize me.Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.15.15 Python/3.11.6 Linux/5.15.133.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off
Environment details (OS name and version, etc.)
WSL2 (Ubuntu 22.04.3 LTS), Windows 11
The text was updated successfully, but these errors were encountered: