WSL: aws sso login fails to open browser with gio
Open
bug
investigating
p3
sso
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
## Summary
When running `aws sso login` in WSL, automatic browser launch can fail with an `Operation not supported` error from Linux desktop launchers.
## Reproduction
1. Run AWS CLI in WSL
2. Run `aws sso login --profile `
3. Observe browser launch failure and manual URL fallback
## Expected
AWS CLI should open the authorization URL using WSL-compatible browser interop.
## Notes
A fix has been implemented to detect WSL and use WSL browser launch behavior (prefer `wslview`, fallback to Windows shell launch).
Contributor guide
Assessment
This issue has not been assessed yet.