Summary
When running aws sso login in WSL, automatic browser launch can fail with an Operation not supported error from Linux desktop launchers.
Reproduction
- Run AWS CLI in WSL
- Run
aws sso login --profile <profile>
- 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).
Summary
When running
aws sso loginin WSL, automatic browser launch can fail with anOperation not supportederror from Linux desktop launchers.Reproduction
aws sso login --profile <profile>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).