Support OAuth2 authorization and authentication to Web API

Review Request #9072 — Created July 12, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
8ada670...

Reviewers

This patch brings full OAuth2 support into Review Board. We now support
authorization via a new endpoint (/oauth2/authorize/) which clients
can use in the process of getting an OAuth2 token to authenticate
themselves to the Web API.

  • Created a sample OAuth client and retrieved an OAuth2 token. Used it
    to communicate with the web API.
  • Ran unit tests.
reviewboard/settings.py
reviewboard/staticbundles.py
reviewboard/urls.py
reviewboard/accounts/backends.py
reviewboard/admin/siteconfig.py
reviewboard/oauth/__init__.py
reviewboard/oauth/apps.py
reviewboard/oauth/urls.py
reviewboard/oauth/views.py
reviewboard/static/rb/css/pages/oauth.less
reviewboard/templates/oauth/authorize.html
reviewboard/testing/testcase.py
reviewboard/webapi/auth_backends.py
reviewboard/webapi/base.py
reviewboard/webapi/tests/test_oauth2_auth.py
Loading...