Bypass Webhook signature verification to process mock/past events? #373
-
Hello 👋 I'm looking to construct a webhook event given the payload and signature from a past, real incoming webhook notification for an int-test. However, there's timestamps involved in the creation and verification of the signature for webhook payloads, and so the straightforward approach of constructing an event from old data doesn't [practically] work as the signature verification fails. Anyone have a recommendation for bypassing this? Or is it best to avoid mocking the incoming webhooks? Thanks 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've submitted my fork with a new constructor which adds this, and I've tried to make it clear in the docstring that this should not be used in production. |
Beta Was this translation helpful? Give feedback.
I've submitted my fork with a new constructor which adds this, and I've tried to make it clear in the docstring that this should not be used in production.
#374