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 CLI not using auth from keychain #1013
Comments
Looks like this fixes it... // KeyManagementService is the key management service name
- KeyManagementService = "Stripe CLI"
+ KeyManagementService = "Stripe" There seems to be an issue with the gnome keyring where it can't handle spaces in service names... See 99designs/keyring#44, 99designs/keyring#83 and 99designs/keyring#90 |
Hello I have the same problem. Is there any workaround available? |
Can confirm this bug on Ubuntu 22.10 and Stripe CLI 1.14.7 - I get stuck in an authentication loop when trying to run 'stripe event resend' using the restricted key. Didn't test with the private API key. I used the Windows application instead and it worked. |
This issue is nearly a year old and there is a simple fix that @ksullivan specified above. Is this going to make it into a release? |
Fixes auth-loop on Linux/Gnome systems. Thanks @ksullivan See also https://github.com/GNOME/gnome-keyring/blob/f24e374/daemon/dbus/gkd-secret-util.c#L111 for root-cause
Fixes auth-loop on Linux/Gnome systems. Thanks @ksullivan See also https://github.com/GNOME/gnome-keyring/blob/f24e374/daemon/dbus/gkd-secret-util.c#L111 for root-cause
Issue
I can successfully log in with
stripe login
, and credentials are properly written into the Ubuntu keychain +~/.config/stripe/config.toml
under thedefault
projectWhen running
stripe listen --live
orstripe events resend --live
, I always get redirected to the login flow. The CLI calls succeed when I include the restricted API keyExpected Behavior
After successfully logging in with
stripe login
, I should not have to include an API key to CLI commands for them to workSteps to reproduce
stripe login
stripe listen --live
Traceback
I don't know how to get debug logs, could not see any error logs
Environment
Ubuntu 22.04.1 LTS
stripe CLI v1.13.6
The text was updated successfully, but these errors were encountered: