Edx-drf-extensions

Latest version: v10.5.0

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

10.5.0

---------------------
* Upgraded to use ``Python 3.12``

10.4.0

---------------------
* Dropped support for ``Python<3.11``

10.3.0

---------------------

* Added Support for ``Python 3.11``
* Dropped support for ``Django<4.2``

10.2.0

---------------------

* Subclasses base exception ``JwtAuthenticationError`` from Django Rest Framework's ``AuthenticationFailed`` exception, allowing ``JwtAuthenticationError`` to be recognized and handled by the default exception handler of the Django Rest Framework.

10.1.0

---------------------

* Added permanent toggle EDX_DRF_EXTENSIONS[ENABLE_JWT_AND_LMS_USER_EMAIL_MATCH]:

* This toggle should only get enabled in the LMS, and should remain disabled in all other services.
* If enabled, makes sure that the user email in JWT cookies and LMS user email matches
* If email matches, it allows authentication otherwise raise JwtUserEmailMismatchError error.

10.0.0

---------------------

Removed
~~~~~~~
* **BREAKING CHANGE:** Removed ENABLE_FORGIVING_JWT_COOKIES toggle. It is now permanently enabled.

* The header USE-JWT-COOKIE was removed because it has been fully replaced by forgiving JWTs.
* Removed temporary rollout custom attributes: use_jwt_cookie_requested, jwt_auth_request_user_not_found, and skip_jwt_vs_session_check.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.