Skip to content

Commit 7503977

Browse files
committed
chore: clarify webhook verification
1 parent 2aea816 commit 7503977

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/webhooks/overview.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,9 @@ identify and verify the request. The most important headers are:
159159

160160
To verify the authenticity of the webhook payloads, you can use the `X-Plane-Signature` header.
161161
This header contains an HMAC SHA-256 signature of the payload, generated using the secret key
162-
you received when creating the webhook. If the signature matches the expected signature, you can be confident that the payload
163-
was sent by Plane and has not been tampered with.
164-
165-
Here's how to verify the payload signature in Python:
162+
you received when creating the webhook. If the signature in the header matches
163+
the HMAC SHA-256 hash of the incoming payload and your secret, you can be
164+
confident that the payload was sent by Plane and has not been tampered with.
166165

167166
import Tabs from '@theme/Tabs';
168167
import TabItem from '@theme/TabItem';

0 commit comments

Comments
 (0)