-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack authentication tokens in query parameters don't work any more. #209
Comments
christofdamian
added a commit
to christofdamian/destalinator
that referenced
this issue
Mar 23, 2021
Slack stopped allowing tokens in query strings. See https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps This moves the token handling into the request sessions object, which also cleans up the code a bit. Fixes randsleadershipslack#209
christofdamian
added a commit
to christofdamian/destalinator
that referenced
this issue
Mar 23, 2021
Slack stopped allowing tokens in query strings. See https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps This moves the token handling into the request sessions object, which also cleans up the code a bit. Fixes randsleadershipslack#209
christofdamian
added a commit
to christofdamian/destalinator
that referenced
this issue
Mar 23, 2021
Slack stopped allowing tokens in query strings. See https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps This moves the token handling into the request sessions object, which also cleans up the code a bit. Fixes randsleadershipslack#209
christofdamian
added a commit
to christofdamian/destalinator
that referenced
this issue
Apr 14, 2021
Allow passing both the bot and user token to the scripts via the environment variables DESTALINATOR_API_BOT_TOKEN and DESTALINATOR_API_USER_TOKEN. They have different permissions and the bot token is only used to post messags, all other calls use the user token. Fixes randsleadershipslack#194. This also includes randsleadershipslack#210 and fixes randsleadershipslack#209 by moving the tokens into the header instead of using query parameters. Don't pass `as_user` to Slack, as this has been removed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps
Just when I finally want to try the destalinator!
The text was updated successfully, but these errors were encountered: