Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL can't be reach by redirect URL #103

Open
Typositoire opened this issue Aug 4, 2022 · 1 comment
Open

WSL can't be reach by redirect URL #103

Typositoire opened this issue Aug 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Typositoire
Copy link

Typositoire commented Aug 4, 2022

I'm using WSL on windows (Don't judge me!!!!) And when running gitsign, it tries to reach back on localhost but this doesn't work.

I think just a way to bind the callback server to 0.0.0.0 instead of 127.0.0.1 would work? I'd be glad to test whatever solution comes out!

Version

gitsign version v0.2.0

@Typositoire Typositoire added the bug Something isn't working label Aug 4, 2022
@wlynch
Copy link
Member

wlynch commented Sep 21, 2022

Sorry about the delay - going back over old issues that are still open.

I haven't tried using gitsign with WSL, but this sounds roughly similar to the "use gitsign within a vm" use case we hear a lot. I think I'd be a little hesitant to open this up to 0.0.0.0, and I'm not sure this would directly solve your issue since the localhost redirect URL would still point to the host machine.

2 alternatives that may work for you:

  1. If WSL has a mechanism to port forward/proxy, you can set the redirectURL config directly to set a static port to always forward through.
  2. We recently fixed out-of-band oauth which should fix browser-less sign in flows Out of band auth flow not working #137

Let me know if this helps! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants