Skip to content

Fix WSL browser opening for SSO login#10241

Open
josephaw1022 wants to merge 1 commit intoaws:v2from
josephaw1022:fix-sso-login-url-wsl
Open

Fix WSL browser opening for SSO login#10241
josephaw1022 wants to merge 1 commit intoaws:v2from
josephaw1022:fix-sso-login-url-wsl

Conversation

@josephaw1022
Copy link
Copy Markdown

@josephaw1022 josephaw1022 commented Apr 22, 2026

Issue #, if available:

Closes #10242

Description of changes:

  • Fix WSL browser launch behavior for aws sso login and aws login shared SSO flow.
  • Detect WSL explicitly, then open the auth URL via WSL interop (wslview when available, otherwise cmd.exe /C start).
  • Keep existing Linux behavior as fallback if WSL interop launch fails.
  • Add unit tests covering WSL launch paths and fallback behavior.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Detect WSL and open browser through WSL interop (wslview/cmd.exe) before falling back to Linux browser handling.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant