Course name : First Nights: Handel's Messiah and Baroque Oratorio
Course Run : Harvard X/MUS24.4x
Actual Result:
None of the non-video lessons have loaded.
Expected Result:
All the lessons shouldn't take that much time in loading.
1) Login to edX app.
2) Select course 'First Nights: Handel's Messiah and Baroque Oratorio'
3) Tap to open any non video lesson and view.
https://courses.edx.org/oauth2/login/ returns 3 cookies: prod-edx-sessionid, AWSELB, csrftoken
https://mobile-dev.sandbox.edx.org/oauth2/login/ returns 1 cookie: sessionid
Django default cookie is "sessionid"
The other environments have intentionally have distinct cookie names (stage, prod, etc...)
FYI, just confirmed that changing the sessionid to whatever was on prod works.
So the question then is do we need a config property with the cookie name?
Alternatively, is there any reason not to copy all of the cookies from /oauth2/login/ ? that way we don't have to decide which one is the session cookie.
I'm for the latter (copy ALL THE COOKIES). I don't think it's safe to assume any kind of cookie pattern for outside of edx.
LGTM.
Tested on stage, prod, mobile-dev
Note: stage required basic auth so the assessments come back as 401s.