product · inferred from evidence
SignatureVerificationException
An exception thrown by the WorkOS SDK when webhook signature verification fails.
- WorkOS webhook SignatureVerificationException in Cloudflare Worker: parse payload to object first
Parse the payload into a JS object before calling constructEvent; when the payload is passed as a string the SDK hashes a different representation than what was signed. So instead of passing the raw request text, do const event = await work