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

Features/add webhooks signature #292

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bhumi1102
Copy link
Contributor

@bhumi1102 bhumi1102 commented May 11, 2023

closes #216

This PR has an accompanying migration to merge bullet-train-co/bullet_train#785

Overview
We are adding cryptographic signature to outgoing webhooks such that the receiver can (optionally) verify to ensure that the webhook originated from a BulletTrain application (similar to Stripe webhooks).

The signature will be sent in a new header called bullet-train-signature:
Screen Shot 2023-05-12 at 12 00 58 PM

Testing
Created an outgoing webhook, using pipedream for the url and triggered the event in the application to cause an outgoing webhook. Verified that the outgoing webhook contains the new signature header.

@jagthedrummer
Copy link
Contributor

@andrewculver I'm leaving this one for you since it's related to outgoing webhooks.

@jagthedrummer
Copy link
Contributor

@andrewculver asked me not to merge anything related to outgoing webhooks, so I'm going to leave this for him to review and merge. Going to convert it to a draft PR for now.

@jagthedrummer jagthedrummer marked this pull request as draft August 22, 2023 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cryptographic signing for outgoing webhooks.
2 participants