-
Notifications
You must be signed in to change notification settings - Fork 374
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
stripe login
producing pairing code, but no URL.
#1168
Comments
Hey, thanks for the report! I wasn't able to reproduce this on Mac or Ubuntu (non-WSL2). I'll see if I can somehow get ahold of a system with WSL2 to try and reproduce this. |
For sure! Let me know if there's any other information I can provide that would be helpful. |
Quick update -- I got Ubuntu 22 running on WSL1 but wasn't able to repro anything. I'm still trying to see if I can get WSL2 running somehow (long story short we don't have easy access to machines that can run the right Windows VMs). Looking at the code,I wonder if the spinner is causing problems: stripe-cli/pkg/login/client_login.go Line 47 in 683f1bf
If you do |
Ah bummer. I'll keep trying to see if I can reproduce but in the mean time |
Issue
I was trying to setup the stripe CLI to test out my site's functionality while in Stripe Test Mode, and tried to log in, but did not receive a URL when logging in. I was able to overcome it by using
stripe login --interactive
and providing my Test Secret Key as the API Key.Expected Behavior
Receive a URL like this:
$ stripe login Your pairing code is: enjoy-enough-outwit-win This pairing code verifies your authentication with Stripe. Press Enter to open the browser or visit https://dashboard.stripe.com/stripecli/confirm_auth?t=THQdJfL3x12udFkNorJL8OF1iFlN8Az1 (^C to quit)
Rather than hanging before receiving a URL:
Steps to reproduce
apt
tab ofhttps://docs.stripe.com/stripe-cli#install
stripe login
in to the terminal.Environment
Ubuntu 22.04.2 LTS on WSL2
stripe version 1.19.4
The text was updated successfully, but these errors were encountered: