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

fix: bail out of experimental request signing early if api key is overridden #1122

Merged
merged 3 commits into from
Oct 4, 2023

Conversation

charliecruzan-stripe
Copy link
Contributor

Reviewers

r? @etsai-stripe
cc @stripe/developer-products

https://jira.corp.stripe.com/browse/RUN_DX-2185

Summary

if a merchant manually overrides the authorization by passing the api-key flag or has the api key env var set, we can't be sure the experimental headers are correct so we should ignore them

@charliecruzan-stripe charliecruzan-stripe requested a review from a team as a code owner September 12, 2023 23:37
@charliecruzan-stripe charliecruzan-stripe merged commit 574d595 into master Oct 4, 2023
6 checks passed
@charliecruzan-stripe charliecruzan-stripe deleted the charliecruzan/RUN_DX-2185 branch October 4, 2023 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants