@quickytools/verify-slack-request
v1.0.2
Published
Verifies a Slack request
Downloads
5
Readme
Verify Slack request signatures
Slack signs requests. Verify bare or Express server Slack requests.
isSignedSlackRequest(version, timestamp, body, signingSecret, signature)
Returns abool
by computing a signature from parts of the request and your app'ssigningSecret
then comparing to the Slack request's expectedsignature
.isValidExpressServerSlackRequest(req, signingSecret, version = 'v0')
Returns abool
by parsing a Slack request sent through an Express server.