Skip to content

fix(oauth): bind callback listener to 127.0.0.1 to prevent WSL2 login hang#16

Open
htmlab wants to merge 1 commit intopolarsource:mainfrom
htmlab:main
Open

fix(oauth): bind callback listener to 127.0.0.1 to prevent WSL2 login hang#16
htmlab wants to merge 1 commit intopolarsource:mainfrom
htmlab:main

Conversation

@htmlab
Copy link
Copy Markdown

@htmlab htmlab commented Apr 18, 2026

Summary

This PR fixes a WSL2 OAuth callback issue in polar login.

What was happening

The browser login step completed, but the callback from the browser on the Windows host could not reliably reach the Polar process running inside WSL. As a result, the CLI could appear to hang after environment selection.

J6BCnTB051

Why

This was caused by a loopback mismatch in the WSL2 host/browser callback path (IPv4 vs IPv6 behavior on localhost), where callback delivery and listener binding were not aligned.

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