在Open edX中添加SSL后,CMS登录重定向到LMS仪表板。

问题描述 投票:0回答:1

我正在尝试在Open edX (Ironwood)中添加SSL。

众所周知,在Ironwood版本中,我们可以通过LMS登录来登录CMS。

假设LMS的网址是 https:/lms.mydomain.com。内容管理系统URL - https:/studio.mydomain.com。

当我点击CMS登录按钮时,它重定向到LMS (https:/lms.mydomain.comlogin?next=https%3A%2F%2Fstudio.mydomain.com%2F。)的网址。

登录后,它被重定向到 https:/lms.mydomain.comdashboard. 相反,它应该重定向到这个URL https:/studio.mydomain.comhome。

在没有使用SSL和域名的情况下,它可以正常工作。

django ssl nginx openedx
1个回答
0
投票

我也有同样的问题。我是通过编辑lms.env.jsoncms.env.json 要有 SESSION_COOKIE_DOMAIN".mydomain.com".

也要确保 LOGIN_REDIRECT_WHITELIST 设置为 "studio.mydomain.com"

记得重新启动LMS和CMS。

/edx/bin/supervisorctl restart lms
/edx/bin/supervisorctl restart cms
/edx/bin/supervisorctl restart edxapp_worker:
© www.soinside.com 2019 - 2024. All rights reserved.