A tool to facilitate the customization of an Openedx instance, adding commands and settings to have an easy-to-use and a ready-to-deploy in local or in development openedx distribution.
2
stars
1
forks
source link
fix: allow session cookie domain in multitenancy #10
This PR creates the SESSION_COOKIE_DOMAIN in the LMS for tenants and microsites when isn't a subdomain of lms.mango.edunext.link.
Note: The cookie is only created with the login, it's not created through the admin console.
How to test
Use this branch
Create a tenant o microsite, you can use the tenant config by default like a guide, just remember to change the url, for example, microsite-a.mango.edunext.link
3 .Login to the site
Open the browser devtools and check the cookies and check for edx-jwt-cookie-header-payload
This PR creates the SESSION_COOKIE_DOMAIN in the LMS for tenants and microsites when isn't a subdomain of lms.mango.edunext.link.
Note: The cookie is only created with the login, it's not created through the admin console.
How to test
microsite-a.mango.edunext.link
3 .Login to the siteedx-jwt-cookie-header-payload