Can't login to LMS or CMS
Introduction
If you are having issue while login to studio (LMS) or CMS and getting redirected to homepage even after successful login although you should redirect to your dashboard if the login is success. This problem occurs due to your Session Cookie Domain. In this section we will show you how you can resolve this issue.
Solution
The solution to this login problem is very simple, For this you just need to set your SESSION_COOKIE_DOMAIN in lms.env.json and cms.env.json files located at /edx/app/edxapp. If you have a domain name then set SESSION_COOKIE_DOMAIN with that name.
SESSION_COOKIE_DOMAIN:"YOUR DOMAIN NAME"
But if you don't have a domain name set SESSION_COOKIE_DOMAIN as empty.
SESSION_COOKIE_DOMAIN:""
Note that the SESSION_COOKIE_DOMAIN in lms.env.json and cms.env.json should be same.
