Commit Graph

6 Commits

Author SHA1 Message Date
Matt Drayer
bd08e46bd7 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 16:00:28 -04:00
Clinton Blackburn
e344bb6cd8 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-05-02 13:09:23 -04:00
Brian Jacobel
716062a876 Mako templates return context in .context_data rather than .context 2016-05-02 13:09:21 -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