Add an endpoint to exchange OAuth access tokens
This allows the holder of a third-party access token (e.g. from Google or Facebook) to get a first-party access token for the edX account linked to the given access token.
Showing
- cms/envs/test.py 11 additions, 1 deletioncms/envs/test.py
- common/djangoapps/oauth_exchange/__init__.py 0 additions, 0 deletionscommon/djangoapps/oauth_exchange/__init__.py
- common/djangoapps/oauth_exchange/forms.py 100 additions, 0 deletionscommon/djangoapps/oauth_exchange/forms.py
- common/djangoapps/oauth_exchange/models.py 3 additions, 0 deletionscommon/djangoapps/oauth_exchange/models.py
- common/djangoapps/oauth_exchange/tests/__init__.py 0 additions, 0 deletionscommon/djangoapps/oauth_exchange/tests/__init__.py
- common/djangoapps/oauth_exchange/tests/test_forms.py 73 additions, 0 deletionscommon/djangoapps/oauth_exchange/tests/test_forms.py
- common/djangoapps/oauth_exchange/tests/test_views.py 118 additions, 0 deletionscommon/djangoapps/oauth_exchange/tests/test_views.py
- common/djangoapps/oauth_exchange/tests/utils.py 127 additions, 0 deletionscommon/djangoapps/oauth_exchange/tests/utils.py
- common/djangoapps/oauth_exchange/views.py 37 additions, 0 deletionscommon/djangoapps/oauth_exchange/views.py
- lms/envs/common.py 2 additions, 0 deletionslms/envs/common.py
- lms/urls.py 6 additions, 0 deletionslms/urls.py
common/djangoapps/oauth_exchange/__init__.py
0 → 100644
common/djangoapps/oauth_exchange/forms.py
0 → 100644
common/djangoapps/oauth_exchange/models.py
0 → 100644
common/djangoapps/oauth_exchange/views.py
0 → 100644
Please register or sign in to comment