Files
edx-platform/lms/static/js/jwt_auth
Syed Ali Abbas Zaidi 5549db4d80 fix: migrate remaining eslint-config-edx (#31760)
* fix: migrate remaining eslint-config-edx

* refactor: updated eslint rules according to eslint-config-edx-es5

* refactor: add custom rules to suppress unnecessary eslint issues

* refactor: add custom rules to internal eslint configs

* fix: fix all indentation issues

* chore: update lock file
2023-03-02 16:16:50 +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