I believe this maybe has to do with the setting SESSION_COOKIE_DOMAIN
In my case I have my lms hosted on MYDOMAIN.COM and studio on
STUDIO.MYDOMAIN.COM so I have set SESSION_COOKIE_DOMAIN to
MYDOMAIN.COM
You were almost there :) The SESSION_COOKIE_DOMAIN should be
".mydomain.com" (mind the starting dot).
---
Régis
On 2019-05-20 11:54, Lucas Rittié wrote:
Hello Régis,
Thanks for your quick reply, indeed I needed to make change to the
settings you described so now the redirection is almost ok but I have
an error when trying to access studio webpages. Below is the scenario
and the error
Now I go to studio.myopenedx.com and click on connect --> I'm
redirected to the lms and enter my credentials to login --> I get
redirect to the studio but I can't open any pages, I get the following
error from my web browser and not from django server
The page isn’t redirecting properly
An error occurred during a connection to studio.mydomain.com
This problem can sometimes be caused by disabling or refusing to
accept cookies.
I did clear cookies, history, cache on my web browsers but I still
have this issue.
I believe this maybe has to do with the setting SESSION_COOKIE_DOMAIN
In my case I have my lms hosted on MYDOMAIN.COM and studio on
STUDIO.MYDOMAIN.COM so I have set SESSION_COOKIE_DOMAIN to
MYDOMAIN.COM
Should I host the lms under a subdomain as well as for studio ? Or is
there something else I'm missing ?
Thanks in advance for your help,
It's much appreciated
Best regards,
Lucas
--
You received this message because you are subscribed to the Google Groups "General
Open edX discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/bb00cec1b3c2e823f3dec7c82805fc12%40behmo.com.