From 818bcc509c35281b7db8939e26e9ef8e520b0f87 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Tue, 23 Oct 2018 17:01:46 -0400 Subject: [PATCH] Add JWT_AUTH_COOKIE setting to enable JwtAuthentication on DRF API endpoints. --- lms/envs/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 6cd6d0ae54..367667e1b2 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3178,6 +3178,8 @@ JWT_AUTH = { 'JWT_EXPIRATION': 30, 'JWT_IN_COOKIE_EXPIRATION': 60 * 60, + 'JWT_AUTH_COOKIE': 'edx-jwt-cookie', + 'JWT_LOGIN_CLIENT_ID': 'login-service-client-id', 'JWT_LOGIN_SERVICE_USERNAME': 'login_service_user',