rydogs / play-ping-pong

Play ping pong
0 stars 0 forks source link

Validiate command using token #10

Open rydogs opened 7 years ago

rydogs commented 7 years ago

https://api.slack.com/slash-commands

Validating the command When your server receives the above data, you should validate whether to service the request by confirming that the token value matches the validation token you received from Slack when creating the command. The token is available in the "Basic information" section of your app's configuration. It's not the same token as the one used to submit Web API requests, but instead a kind of shared secret.