Files
edx-platform/openedx/core/djangoapps/auth_exchange
jawad khan dc256139f3 feat: Exchange jwt token with session cookies (#29963)
Exchange jwt token with session cookies so that it can work on mobile.
Mobile platform is migrating to jwt and for accessing  xblocks we need session cookies in exchnage of jwt token.
For additional details, see
https://github.com/openedx/edx-platform/blob/master/openedx/core/djangoapps/oauth_dispatch/docs/decisions/0013-mobile-migration-to-jwt.rst

LEARNER-8518
2022-08-31 13:29:52 +05:00
..

auth_exchange
-------------

Views to support exchange of authentication credentials.
The following are currently implemented:

1. DOTAccessTokenExchangeView

   View for token exchange from 3rd party OAuth access token to 1st party OAuth access token. Uses django-oauth-toolkit (DOT) to manage access tokens.

2. LoginWithAccessTokenView

   1st party (open-edx) OAuth 2.0 access token (bearer/jwt) -> session cookie