Skip to content

WSL: aws sso login fails to open browser with gio #10242

@josephaw1022

Description

@josephaw1022

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 <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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions