# Open edX login issue from studio

**URL:** <https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147>\
**Category:** Site Operations Help\
**Created:** [January 2, 2020, 6:32am UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147 "2020-01-02T06:32:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![edx\_sb](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@edx\_sb](https://discuss.openedx.org/u/edx_sb)\
**Post date:** [January 2, 2020, 6:32am UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/1 "2020-01-02T06:32:52Z")

</div>

The url of edX studio redirects to [http://edx.devstack.lms:18000/login?next=http%3A%2F%2F](http://edx.devstack.lms:18000/login?next=http%3A%2F%2F)\<our\_domain\_name\>%3A18010%2F if signin or signup is click. While it should redirects to http://\<our\_domain\_name\>:18000/. How we can change this permanent redirection from “edx.devstack.lms” to our url

---

<div class="post-metadata">

**Author:** ![chinmaybhatk](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chinmaybhatk/32/447_2.png) [@chinmaybhatk](https://discuss.openedx.org/u/chinmaybhatk)\
**Post date:** [January 2, 2020, 12:29pm UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/2 "2020-01-02T12:29:08Z")

</div>

You should change the lines code below in the file:

- /edx/app/edxapp/edx-platform/cms/envs/common.py
- #LOGIN\_REDIRECT\_URL = EDX\_ROOT\_URL + ‘/home/’ LOGIN\_REDIRECT\_URL = EDX\_ROOT\_URL + ‘/signin’
- #LOGIN\_URL = reverse\_lazy(‘login\_redirect\_to\_lms’) LOGIN\_URL = EDX\_ROOT\_URL + ‘/signin’
- And finally restart services with:
- sudo /edx/bin/./supervisorctl restart all

---

<div class="post-metadata">

**Author:** ![edx\_sb](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@edx\_sb](https://discuss.openedx.org/u/edx_sb)\
**Post date:** [January 2, 2020, 1:09pm UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/3 "2020-01-02T13:09:49Z")

</div>

> [@chinmaybhatk](#):
>
> sudo /edx/bin/./supervisorctl restart all

Already did this, But getting error even after that. Not sure from where it’s fetching “edx.devstack.lms”

---

<div class="post-metadata">

**Author:** ![edx\_sb](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@edx\_sb](https://discuss.openedx.org/u/edx_sb)\
**Post date:** [January 2, 2020, 2:25pm UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/4 "2020-01-02T14:25:24Z")

</div>

It’s working fine after i changed edx.devstack.lms into multiple files.

---

<div class="post-metadata">

**Author:** ![salman](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/salman/32/325_2.png) [@salman](https://discuss.openedx.org/u/salman)\
**Post date:** [June 15, 2020, 11:07am UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/5 "2020-06-15T11:07:39Z")

</div>

Ia m having the same problem ,Need Help

---

<div class="post-metadata">

**Author:** ![salman](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/salman/32/325_2.png) [@salman](https://discuss.openedx.org/u/salman)\
**Post date:** [June 15, 2020, 11:34am UTC](https://discuss.openedx.org/t/open-edx-login-issue-from-studio/1147/6 "2020-06-15T11:34:36Z")

</div>

I dont understand…
