From 85242014b686d5b70c85c9f4e7b7e0c9f2ee60b8 Mon Sep 17 00:00:00 2001 From: Manjinder Singh <49171515+jinder1s@users.noreply.github.com> Date: Fri, 19 Feb 2021 14:33:43 -0500 Subject: [PATCH] fix: changed setting to fix login through studio (#26636) Login redirect was using wrong url, thus making it impossible to login from studio. This settings change should fix that. Useful information to include: Which edX user roles will this change impact? "Developer" Supporting information https://openedx.atlassian.net/browse/ARCHBOM-1687 Testing instructions Bring up devstack studio and press sign in. If it redirects you correctly to lms login page, this works! --- cms/envs/devstack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cms/envs/devstack.py b/cms/envs/devstack.py index 5ce4b132cd..aeaf2a3103 100644 --- a/cms/envs/devstack.py +++ b/cms/envs/devstack.py @@ -47,6 +47,9 @@ LMS_BASE = 'localhost:18000' LMS_ROOT_URL = 'http://{}'.format(LMS_BASE) FEATURES['PREVIEW_LMS_BASE'] = "preview." + LMS_BASE +FRONTEND_LOGIN_URL = LMS_ROOT_URL + '/login' +FRONTEND_LOGOUT_URL = LMS_ROOT_URL + '/logout' +FRONTEND_REGISTER_URL = LMS_ROOT_URL + '/register' ########################### PIPELINE ################################# # Skip packaging and optimization in development