An unofficial terminal client for Tangled, optimized for humans and agents. tgcli.wisp.place
cli atproto go tangled

Auth under WSL silently fails to open browser #3mr3tudluiy22

Open opened by and assigned to metru.dev
· · targeting master

On WSL xdg-open under the hood calls explorer.exe <url> which has a limit of ~2080 characters. Our OAuth url is ~2140. So instead of doing its job, it is silently swallowing the error and falling back to a blank explorer.exe window.

Quick demo of the issue to prove I'm not crazy: https://www.youtube.com/watch?v=HfgxHCY9fus

I propose a very simple workaround, if we're running in wsl, just call powershell.exe instead which is more reliable and doesn't have this silly link length limit.

Delete this pull request?

This cannot be undone.

Labels

  • No labels

This pull request has no versions submitted yet.