Skip to content

Commit a0e4a33

Browse files
Some additional notes around webhook signature verification. (#101)
1 parent 49e8fb9 commit a0e4a33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/webhooks/04-Signatures.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ If at least one of the signatures matches, the webhook should be considered a tr
4848
<!-- theme: info -->
4949
> Note: When comparing signatures, be sure to use a constant-time string comparison to protect against timing attacks.
5050
51+
<!-- theme: warning -->
52+
> Verifying PagerDuty webhook signatures requires the unaltered raw body of the request sent to you.
53+
> Ensure that any frameworks or middleware you are using have not manipulated or formatted the request body.
54+
55+
<!-- theme: warning -->
56+
> PagerDuty webhook payloads support unicode characters. If your implementation is converting the request body
57+
> from string to bytes [or vice-versa], ensure that you are using the proper UTF-8 character encoding.
58+
5159
## Examples of webhooks signing
5260

5361
<!--

0 commit comments

Comments
 (0)