Commit Graph

10 Commits

Author SHA1 Message Date
J. Cliff Dyer
1270df1500 Enable dispatch of Authorization endpoint.
* Created URL route
* Expanded test code to confirm expected behavior

MA-2124
2016-06-02 13:58:38 +00:00
Clinton Blackburn
f6d9c9a324 Added scopes claim to JWT access tokens (#12571)
This will allow API servers to limit access based on scopes.
2016-05-26 15:45:07 -04:00
Clinton Blackburn
38148679dc Added administrator bit to JWT access token 2016-05-25 14:35:13 -04:00
Matt Drayer
55cf0fb2c4 mattdrayer/microsite-jwt-auth: Access setting through microsites/theming framework
* mattdrayer: Remove individual JWT settings
* mattdrayer: Add settings defaults to JWT_AUTH calls
2016-05-12 15:04:26 -04:00
Brian Jacobel
19b9242986 Merge pull request #12151 from edx/bjacobel/requirejs-errors-in-django-templates
Fix errors in old Django templates / migrate to Mako
2016-04-27 13:39:54 -04:00
Clinton Blackburn
6941fcd766 Updated access token view to return a JWT as an access token
The JWT includes the user email and username, along with details pulled from the original access token (e.g. scope, expiration).

ECOM-4221
2016-04-26 09:32:49 -04:00
Brian Jacobel
e576733608 Mako templates return context in .context_data rather than .context 2016-04-25 15:08:16 -04:00
J. Clifford Dyer
28ab627a50 Fix authentication issues with django-oauth-toolkit
MA-2271
    Allow inactive users to authenticate.
MA-2273
    Provide custom authenticate method that allows users to provide email.
2016-04-15 16:04:08 +00:00
Clinton Blackburn
b0535def87 Improved OAuth client credentials support
- Updated django-oauth2-provider libraries
- Added test ensuring issued access tokens have the basic scopes needed to get user info

ECOM-4197
2016-04-13 16:23:54 -04:00
J. Cliff Dyer
1df040228a Configure LMS to select oauth2 providing library.
Available backends:

* django-oauth-toolkit (DOT)
* django-oauth2-provider (DOP)

* Use provided client ID to select backend for
  * AccessToken requests
  * third party auth-token exchange
* Create adapters to isolate library-dependent functionality
* Handle django-oauth-toolkit tokens in edX DRF authenticator class

MA-1998
MA-2000
2016-03-30 14:21:27 +00:00