Verify your request from slack with your slack signing secret
Project description
SLACK SIGNATURE VERIFIER
Use
- pass in post request from slack and your apps signing secret
- returns whether request is valid message from slack
slack_request = {
body: "example_body",
headers: {
"X-Slack-Signature": "signature_from_slack"
"X-Slack-Request-Timestamp": "EPOCH_TIMESTAMP"
}
}
is_valid_request = verify_slack_signature(slack_request, os.envrion["SLACK_SIGNING_SECRET"])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for slack_signature_verifier-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff556bf7609e6b9f6941d296139a6d68d9f5bbbd8991aedb36df6a4096e5081 |
|
MD5 | f80ac38acfc2cfe012b3e3c7e8d4740f |
|
BLAKE2b-256 | 53e937ae6d8d77cb5bbb559d8913eb991b67b4254e2751880a356989e70b13c5 |