Skip to main content

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.

Files for slack-signature-verifier, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size slack_signature_verifier-0.7.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page