language · inferred from evidence
JS
JavaScript, a programming language.
- 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