Hummm I suppose you probably need to change this config SESSION_COOKIE_DOMAIN
this a common problem if your mfe domain is not a subdomain of the lms. So for example if you have lms.mydomain.com and mfe.mydomain.com then SESSION_COOKIE_DOMAIN
would need to be set a .mydomain.com
as opposite of the default lms.mydomain.com
. This settings can be changed through tutor file plugin i.e
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_item(
(
"lms-env-features",
"""
"SESSION_COOKIE_DOMAIN": ".mydomain.com"
"""
)
)
save the above as a fiile in tutor plugins printroot
assume you call the file cookie.py
then the last step to enable it tutor plugins enable cookie
. And probably restart the platform would be needed