-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ignoring request from unidentified source #7
Comments
sure thing! there are a few environment variables you're gonna want to set to verify all payloads. if you are using slash commands, then you need an environment variable for each robot set to the token found in that slash command's slack integration page. The environment variable is e.g.
For Outgoing Webhook (trigger word) commands, you just need one environment variable set to e.g. Your organization's domain is:
You can find this token in your Outgoing Webhook integration page. I am also considering adding an |
Thank you @trinchan that got through that hurdle - the next hurdle is getting the robots registered. Do you have a step-by-step on how to use your version of heroku-buildpack-go? I'm using Heroku and the Github connect function to deploy my fork. I'm clearly missing go generate ./... and go install ./.... how do I go about adding these in? (all this is good wiki material btw +1) |
if you want to use my buildpack with go generate support, you can check the Buildpacks heroku support page. The repo for my buildpack is https://github.com/trinchan/heroku-buildpack-go. |
First off, thank you for putting together this framework! I'm having trouble getting past [DEBUG] Ignoring request from unidentified source: - ". I suspect that my environment variables are not setup correctly. In main.go line 35 is looking for %s_OUT_TOKEN. What is %s in this regard? I think my environment variables are not coming across or being referenced right.
The text was updated successfully, but these errors were encountered: