diff --git a/cms/envs/mock.yml b/cms/envs/mock.yml index b28ee6028073..dd2d9cf79d10 100644 --- a/cms/envs/mock.yml +++ b/cms/envs/mock.yml @@ -298,10 +298,6 @@ STORAGES: BACKEND: openedx.core.storage.ProductionStorage DEFAULT_FROM_EMAIL: no-reply@registration.localhost DEFAULT_HASHING_ALGORITHM: sha256 -DEFAULT_JWT_ISSUER: - AUDIENCE: test_password - ISSUER: https://courses.localhost/oauth2 - SECRET_KEY: test_secret_key DEFAULT_SITE_THEME: localhost DISABLED_COUNTRIES: - US @@ -513,7 +509,6 @@ JWT_AUTH: "kid": "lms001"}]}' JWT_SECRET_KEY: test_JWT_SECRET_KEY JWT_SIGNING_ALGORITHM: RS512 -JWT_ISSUER: https://courses.localhost/oauth2 LANGUAGE_COOKIE: language-preference LEARNER_PORTAL_URL_ROOT: https://masters.localhost LEARNER_RECORD_MICROFRONTEND_URL: https://records.localhost diff --git a/lms/envs/mock.yml b/lms/envs/mock.yml index 4d173abcd78b..611b35d63176 100644 --- a/lms/envs/mock.yml +++ b/lms/envs/mock.yml @@ -383,10 +383,6 @@ STORAGES: BACKEND: openedx.core.storage.ProductionStorage DEFAULT_FROM_EMAIL: sandbox-notifications@example.com DEFAULT_HASHING_ALGORITHM: sha256 -DEFAULT_JWT_ISSUER: - AUDIENCE: SET-ME-PLEASE - ISSUER: https://deploy_host/oauth2 - SECRET_KEY: SET-ME-PLEASE DEFAULT_MOBILE_AVAILABLE: true DEFAULT_NOTIFICATION_ICON_URL: https://notifications-static.localhost/icons/post_outline.png DEFAULT_SITE_THEME: localhost @@ -725,9 +721,6 @@ JWT_AUTH: JWT_SECRET_KEY: SET-ME-PLEASE JWT_SIGNING_ALGORITHM: null JWT_AUTH_ADD_KID_HEADER: true -JWT_EXPIRATION: 30 -JWT_ISSUER: https://deploy_host/oauth2 -JWT_PRIVATE_SIGNING_KEY: null LANGUAGE_CODE: en LANGUAGE_COOKIE: openedx-language-preference LEARNER_DASHBOARD_AMPLITUDE_MODEL_ID: hello diff --git a/openedx/envs/common.py b/openedx/envs/common.py index 18fa201382a6..1e89d2a38c7a 100644 --- a/openedx/envs/common.py +++ b/openedx/envs/common.py @@ -612,19 +612,6 @@ def _make_locale_paths(settings): 'JWT_AUTH_HEADER_PREFIX': 'JWT', } -# These JWT settings appear to be vestigial. They are duplicates of settings -# defined in JWT_AUTH above, and don't seem to be used anymore. See issue -# https://github.com/openedx/edx-drf-extensions/issues/332. -JWT_ISSUER = 'http://127.0.0.1:8000/oauth2' -DEFAULT_JWT_ISSUER = { - 'ISSUER': 'http://127.0.0.1:8000/oauth2', - 'AUDIENCE': 'SET-ME-PLEASE', - 'SECRET_KEY': 'SET-ME-PLEASE' -} -JWT_EXPIRATION = 30 -JWT_PRIVATE_SIGNING_KEY = None - - ################################# Features ################################# # .. setting_name: PLATFORM_NAME