cecilphillip-stripe / stripe-dotnet-extensions

MIT License
5 stars 0 forks source link

Handle multiple signing secrets #4

Closed cjavilla-stripe closed 2 months ago

cjavilla-stripe commented 2 years ago

I'd love to see us support multiple webhook signing secrets either as part of the webhook processing extension or the Stripe.net SDK directly. When working with Connect, users will have at least 2 webhook endpoints set up, each with a unique secret. In the past, we've told users to "try" checking one signature and if that raises an exception "try" the next secret.

Ideally we could do that try/catch logic for devs and not use exception handling for control flow.

cecilphillip commented 2 months ago

Added Keyed registrations