Files
edx-platform/lms/static/js/jwt_auth
Syed Ali Abbas Zaidi f1fb38ed83 fix: multi lines and spaces issues (#31885)
* fix: multi lines and spaces issues

* fix: eslint operator-linebreak issue

* fix: eslint quotes issue

* fix: remaining quotes issues

* fix: eslint object curly newline issue

* fix: eslint object curly spacing issue

* fix: eslint brace-style issues

* fix: react jsx indent and props issues

* fix: eslint trailing spaces issues

* fix: eslint linbreak style issue

* fix: eslint space unary operator issue

* fix: eslint line around directives issue

* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
..

Responsibilities
================
The code in the jwt_auth folder was pulled from https://github.com/openedx/frontend-platform/tree/master/src/auth

Primarily the code required to use https://github.com/openedx/frontend-platform/blob/master/src/auth/AxiosJwtTokenService.js

This code will require updates if changes are made in the AxiosJwtTokenService.

The responsibility of this code is to refresh and manage the JWT authentication token.
It is included in all of our Micro Front-ends (MFE), but in edx-platform course
dashboard and other frontend locations that are not yet in MFE form we still
need to update the token to be able to call APIs in other IDAs.

TODO: Investigate a long term approach to the JWT refresh issue in LMS https://openedx.atlassian.net/browse/MICROBA-548