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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d88b1a89ad3e9188312d81260d669c384a8baf0e8f34ed0ec79309bedcea4f1d |
|
MD5 | 8f09f799b21a32f28a13e5e2912bfdc5 |
|
BLAKE2b-256 | 53285867344b61172f1ac708fc7afa9fafce1c3ab8ed4758280e28bdf49adc2f |