I'm not too familiar with the devstack, but in Tutor I had to tinker with the following settings:
cms.env.json (https://github.com/regisb/tutor/blob/master/tutor/templates/apps/openedx/config/cms.env.json): - DISABLE_STUDIO_SSO_OVER_LMS: this is a feature flags that disables the whole redirect-to-lms thing. lms.env.json (https://github.com/regisb/tutor/blob/master/tutor/templates/apps/openedx/config/lms.env.json): - SESSION_COOKIE_DOMAIN: if SSO is enabled, then cookies are dropped in this domain name. Since cookies need to be read both by the LMS and the CMS, you need to place a domain name that is common to both. For instance, if the lms and the cms live at www.myopenedx.com and studio.myopenedx.com, respectively, then the session cookie domain needs to be set to myopenedx.com. - LOGIN_REDIRECT_WHITELIST: if SSO is enabled, the CMS domain name must be added to this whitelist. AFAIU this setting also needs to be present in cms.env.json (https://github.com/regisb/tutor/blob/master/tutor/templates/apps/openedx/config/cms.env.json). Régis On Wednesday, May 15, 2019 at 3:20:15 PM UTC+2, Lucas Rittié wrote: > > Hello everyone, > > For those of you who have installed edx lastest release IronWood, are you > using the studio sso feature ? (Studio login via the LMS described here : > ironwood-releasenotes > <https://edx.readthedocs.io/projects/open-edx-release-notes/en/latest/ironwood.html#studio-login-via-the-lms> > ) > > Because I'm using the docker devstack environment and have the following > issue. > > I click on the studio homepage sign in button, I am well redirected to my > LMS instance but the LMS is not redirecting me to studio instead I land on > my LMS dashboard. > > I'm not sure where to configure this setting and haven't found much posts > about it in the google groups since it's a new feature. > > If someone has managed to configure it can you share on this post how to > do it ? (if I somehow manage to do it I'll share it on this post) > > Thanks in advanced for your help, > > 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/36c98cf5-8a69-469f-a24d-16fd9266e51c%40googlegroups.com.
