Slack Integration with OAuth 2.0

Review Request #11289 — Created Nov. 19, 2020 and updated — Latest diff uploaded

Information

rbintegrations
master

Reviewers

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

First Last Summary ID Author
Slack Integration with OAuth 2.0
383a156e8fae540c36d8141839d32339440e988d ruonan
Slack Integration with OAuth 2.0
0d704d4b1b8995621146080e90e4f491c8f082b4 ruonan
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
Loading...