I have installed open edx juniper.After configuring Ecommerce,When i visit to ecommerce.mysite.com,it redirect me to lms .After login in,it take me to lms dashboard ,instead of ecommerce dashboard
There is indeed a change in ecommerce. I faced this problem when I updated from ironwood to juniper.
- ecommerce.domain.com now redirects to ecommerce.domain.com/dashboard instead of displaying an empty 404 page.
- in ecommerce : oscar dashboard (/dashoard) and custom open edx pages (/courses, /coupons, etc) can only be accessed by a superuser.
Now the issue is even if you authenticate in LMS with a superuser account, the superuser status is not transferred to the account created in ecommerce.
I couldn’t solve the problem myself so I just skipped it by manually adding superuser status to the desired accounts. You can do that from within an ecommerce shell.
To add superuser status ,we need to run this cmd from ecommerce terminal
./manage.py shell -c “from django.contrib.auth import get_user_model; get_user_model().objects.filter(email=‘email@example.com’).update(is_staff=True, is_superuser=True)”