Open threesquared opened 4 years ago
@threesquared I had a go at this: https://github.com/royletron/slack-mock/tree/f/add-token-header. It needs some work, but got me started. I will get some tests and docs together and submit a PR when things aren't on 🔥
Assumes either a SLACK_SIGNING_SECRET
env var is set, or that your signing secret is and empty string.
I was trying to use this library with slackapi/bolt however I get an error
Cannot read property split of undefined
which seems to be an issue with verifying thex-slack-signature
headers in ExpressReceiver.tsAre there any plans to add support for request signing verification?