-
Notifications
You must be signed in to change notification settings - Fork 3
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
Send a custom header & value #25
Comments
What if a different user executes the sync of an existing file? Given: UserA created a dataset Would the "webhook" sync be made with UserB's token or UserA's? |
great question! the answer should be UserA's the sync record should tie back to the user account of the authenticated user that created the sync record - that user had access to their own credentials, and therefore has access to the paired outbound token, so it can be configured on the receiving end. and, since in this case UserA and UserB both likely work for the same org, they could either have a OrgIntegrations account that is owned by the organization and has a shared api token (and outbound) that they would all share OR their server could keep a list of outbound tokens that they will accept (e.g. UserA's and UserB's) if they want their webserver to respond to sync requests authorized by UserA and UserB |
@bryonjacob We'll deliver an HMAC SHA256 hash of the webhook payload, signed with the OAuth client's secret if the webhook was created via our the public API. If users set up webhooks by hand, they'll be able to specify any headers they want. |
Suggestions from @bryonjacob:
The text was updated successfully, but these errors were encountered: