mirror of https://github.com/zulip/zulip.git
ba7da6d5c0
The query string parameter authentication method is now deprecated for newly created Slack applications since the 24th of February[1]. This causes Slack imports to fail, claiming that the token has none of the required scopes. Two methods can be used to solve this problem: either include the authentication token in the header of an HTTP GET request, or include it in the body of an HTTP POST request. The former is preferred, as the code was already written to use HTTP GET requests. Change the way the parameters are passed to the "requests.get" method calls, to pass the token via the `Authorization` header. [1] https://api.slack.com/changelog/2020-11-no-more-tokens-in-querystrings-for-newly-created-apps Fixes: #17408. |
||
---|---|---|
.. | ||
__init__.py | ||
gitter.py | ||
import_util.py | ||
mattermost.py | ||
mattermost_user.py | ||
sequencer.py | ||
slack.py | ||
slack_message_conversion.py |