From 9195247095bbd12d20a388210622958544198634 Mon Sep 17 00:00:00 2001 From: wondrousWebWorks Date: Tue, 16 Jan 2024 09:39:25 +0000 Subject: [PATCH] Add settings for default athentication classes --- lms/envs/common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 1f92b6f221..1bacc1ec53 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2597,6 +2597,10 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring 'service_user': '800/minute', 'registration_validation': '30/minute', }, + 'DEFAULT_AUTHENTICATION_CLASSES': ( + 'edx_rest_framework_extensions.auth.jwt.authentication.JwtAuthentication', + 'rest_framework.authentication.SessionAuthentication', + ), } SWAGGER_SETTINGS = {