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

Add event to customize webhook request data #87

Open
sanderpotjer opened this issue Oct 27, 2023 · 0 comments
Open

Add event to customize webhook request data #87

sanderpotjer opened this issue Oct 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sanderpotjer
Copy link

It would be great if an event can be added that allows to customize the data before a webhook request is queued up. For example to change the headers and body of the webhook request.

This would allow to set a hashed signature of the webhook as header, based on the body data. Like the commonly used hash_hmac('sha256', $rawRequestContent, 'secretKey'); header as signature.

Currently the webhooks plugin doesn't offer an option to set this, or offering an event to set via custom code. So by having the event this and other customizations can take place.

@sanderpotjer sanderpotjer added the bug Something isn't working label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant