Slack Integration with OAuth 2.0
Review Request #11289 — Created Nov. 19, 2020 and updated — Latest diff uploaded
Slack Integration workflow now uses OAuth 2.0.
Users fill out the form with the credentials provided
by Slack App and clicks on a button Authorize to bring
up the OAuth 2.0 popup workflow.
- Manually tested adding Slack integration using OAuth 2.0 workflow
- Access token is successfully saved into config
- Slack integration successfully sends notifications to
linked channel
with a test Slack App set up
- Ran unit tests, all works except 2 needing image attachments:
- test_notify_new_review_request_with_image_file_attachment
- test_notify_updated_review_request_with_new_image_attachments
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 10. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
Commits
Files
rbintegrations/extension.py |
---|
rbintegrations/slack/authorizeWidget.py |
---|
rbintegrations/slack/authorize_widget.html |
---|
rbintegrations/slack/forms.py |
---|
rbintegrations/slack/integration.py |
---|
rbintegrations/slack/tests.py |
---|
rbintegrations/slack/urls.py |
---|
rbintegrations/slack/views.py |
---|
rbintegrations/static/js/slack/authorize.js |
---|