1 Posts
Kick webhooks: verify the message ID, timestamp, and raw body together
For the Kick entry, use the signature structure in the official webhook-security guide. Verification covers the message ID, timestamp, and raw body rather than a reconstructed JSON object alone.
Preserve those inputs exactly and apply the documented RSA/SHA-256 verification with the provider's public key. Track message IDs so repeated delivery does not repeat an action.
Test a valid fixture, a modified body, and a duplicate message. Authentication and idempotent processing should each have their own observable outcome.
·1