Skip to content

Commit

Permalink
feat: Upgrade Python dependency edx-drf-extensions 9.0.0 (#33807)
Browse files Browse the repository at this point in the history
Upgrade edx-drf-extensions 9.0.0

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

edx-drf-extensions 9.0.0 requires VERIFY_LMS_USER_ID_PROPERTY_NAME
to be properly set in LMS to get the appropriate verification when
forgiving JWTs is enabled (which will soon be by default).

See openedx/edx-drf-extensions#408 for details.

This is part of:
edx/edx-arch-experiments#429

Co-authored-by: robrap <[email protected]>
  • Loading branch information
github-actions[bot] and robrap authored Nov 27, 2023
1 parent c67a774 commit 3b902c8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4411,6 +4411,8 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
# Set this value to an empty dict in order to prevent automatically updating
# user data from values in (possibly stale) JWTs.
'JWT_PAYLOAD_USER_ATTRIBUTE_MAPPING': {},
# Allows JWT authentication to find the LMS user id for verification
'VERIFY_LMS_USER_ID_PROPERTY_NAME': 'id',
}

################################ Settings for rss_proxy ################################
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ edx-django-utils==5.8.0
# openedx-blockstore
# ora2
# super-csv
edx-drf-extensions==8.13.1
edx-drf-extensions==9.0.0
# via
# -r requirements/edx/kernel.in
# edx-completion
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ edx-django-utils==5.8.0
# openedx-blockstore
# ora2
# super-csv
edx-drf-extensions==8.13.1
edx-drf-extensions==9.0.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ edx-django-utils==5.8.0
# openedx-blockstore
# ora2
# super-csv
edx-drf-extensions==8.13.1
edx-drf-extensions==9.0.0
# via
# -r requirements/edx/base.txt
# edx-completion
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ edx-django-utils==5.8.0
# openedx-blockstore
# ora2
# super-csv
edx-drf-extensions==8.13.1
edx-drf-extensions==9.0.0
# via
# -r requirements/edx/base.txt
# edx-completion
Expand Down

0 comments on commit 3b902c8

Please sign in to comment.