Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack request signing verification issue #33

Open
threesquared opened this issue Nov 20, 2019 · 1 comment
Open

Slack request signing verification issue #33

threesquared opened this issue Nov 20, 2019 · 1 comment

Comments

@threesquared
Copy link

threesquared commented Nov 20, 2019

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 the x-slack-signature headers in ExpressReceiver.ts

Are there any plans to add support for request signing verification?

@royletron
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants