-
Notifications
You must be signed in to change notification settings - Fork 173
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
Allow signature validation without timestamp tolerance enforcement #93
Comments
@svix-frank We are in a situation where we need to use a custom tolerance. svix-webhooks/python/svix/webhooks.py Lines 67 to 79 in 03ab8b9
|
Asking for the same tweak but for a different reason than OP: sometimes, things go bad in production and webhooks need to be retried for business reasons. |
I reopened it. No idea why it was closed, but at the very least it's useful for tests (if not a variety of other use-cases too).
You should generate a new signature when you retry (Svix already does it). |
Sorry I mean to say “processing of web hooks received from a 3rd party” |
There's a function |
Should keep it enabled by default, but we might want to allow custom tolerances or allow to disable the tolerance enforcement altogether.
Can be useful if you want to verify old payloads or if you have a bad clock.
The text was updated successfully, but these errors were encountered: