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

Enable using cli in automated ci pipeline. #16

Open
mauricedoepke opened this issue Dec 24, 2022 · 1 comment
Open

Enable using cli in automated ci pipeline. #16

mauricedoepke opened this issue Dec 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mauricedoepke
Copy link

I want to use the gocardless cli to enable automated tests of our payment logic in our ci pipeline.

Is your feature request related to a problem? Please describe.
Currently the only way to login with the cli is by using oauth (opening a browser link). This requires manual interaction or a unneccessarily complex browser automation to automatically open the oauth url via script.

Describe the solution you'd like
It would be nice to be able to alternatively authorize the cli by using an api key. Stripe e.g. does it like this:

stripe listen --api-key ${STRIPE_TEST_API_KEY} --forward-to http://localhost/webhook
@mauricedoepke mauricedoepke added the enhancement New feature or request label Dec 24, 2022
@george-karma
Copy link

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants