WireMock-Net / WireMock.Net

WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Apache License 2.0
1.42k stars 209 forks source link

Send HMAC / Digital Signatures in Webhooks #1204

Open mathgr22 opened 2 weeks ago

mathgr22 commented 2 weeks ago

Is your feature request related to a problem? Please describe. I need the ability to digitally sign a Webhook due to interaction with third-party software. My digital signature needs to be based off of the post-transformed Webhook body. Currently it is not possible to insert a header after the Webhook body has been transformed.

Describe the solution you'd like I would like the ability to generate an HMAC digital signature based off of the transformed Webhook body and insert it into the Webhook header before it is sent.

Describe alternatives you've considered As far as I know there is no work-around to obtain this functionality in WireMock.Net.

StefH commented 2 weeks ago

https://github.com/orgs/WireMock-Net/discussions/1195

StefH commented 1 week ago

@mathgr22 did you check my last comment on the discussion? https://github.com/orgs/WireMock-Net/discussions/1195