#375

Require known Stripe API keys in strict mode

Openjychpwants to merge intofrom
  • Add stripe.strict_scopes: on /v1 routes, a request without an API key or with a key that does not come from seed config or server options returns 401 with Stripe's invalid_request_error messages.
  • Accept the key as the HTTP Basic username or a bearer token, and keep accepting any key by default, with regression coverage and docs.

References:

Fixes #374

Activity

2
vercel[bot]2d ago

@jychp is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.