- IP Whitelisting.
- Signature validation with secret and payload (x-dojah-signature).
- Signature validation with secret only (x-dojah-signature-v2).
IP Whitelisting.
With this method, you only allow certain IP addresses to access your webhook URL while blocking out others. Dojah will only send webhooks from these IP addresses: 20.112.64.208Signature validation with secret and payload.
Events sent from Dojah carry the x-dojah-signature header. The value of this header is a HMAC SHA256 signature of the event payload signed using your secret key. Verifying the header signature should be done before processing the event:Javascript
Signature validation with secret only.
Events sent from Dojah carry the x-dojah-signature-v2 header. The value of this header is a HMAC SHA256 signature of your secret key. Verifying the header signature should be done before processing the event:Javascript