WSL2 OAuth callback hang during Polar login
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- authentication, cli
Research direction
Review the WSL2 OAuth callback flow and the linked PR #16, since the payload does not name specific files or tests. Done means the browser callback reliably reaches the Polar process without an IPv4/IPv6 loopback mismatch.
Written by the indexing model from the issue text.
Description
On WSL2, the browser login flow could complete successfully, but the callback from the browser (running on the Windows host) did not reliably reach the Polar process running inside WSL. This made the CLI appear to hang after environment selection.
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.
The fix is pretty straightforward: align the callback listener and callback target to the same loopback behavior so both sides use a consistent path. In practice, this removes the IPv4/IPv6 mismatch in the WSL2 callback flow and makes delivery reliable.
Fixed in PR: https://github.com/polarsource/cli/pull/16
Thanks!
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 14
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from polarsource/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
polarsource/cli#11 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
polarsource/cli#24 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
polarsource/cli#18 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
polarsource/cli#15 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
polarsource/cli#9 · 1 comment · 1 reaction ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·