You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Get hash of message using shared secret:varhasher=crypto.createHmac('sha256',secret);hasher.update(buf.toString());varhash=hasher.digest('base64');// Compare hash to Acuity signature:if(hash!==req.header('X-Acuity-Signature')){thrownewError('This message was forged!');}
The text was updated successfully, but these errors were encountered:
We need to verify acuity message signatures to make sure they are not forged. https://developers.acuityscheduling.com/docs/webhooks
The text was updated successfully, but these errors were encountered: