# Tutor OpenEdx production server facing email password authentication issue

**URL:** <https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500>\
**Category:** Site Operations Help\
**Tags:** django-oscar, tutor, python, palm\
**Created:** [March 12, 2024, 5:53am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500 "2024-03-12T05:53:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeraj\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/neeraj_singh/32/6054_2.png) [@Neeraj\_Singh](https://discuss.openedx.org/u/Neeraj_Singh)\
**Post date:** [March 12, 2024, 5:53am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500/1 "2024-03-12T05:53:14Z")

</div>

In the production server, we are encountering authentication issues for email-password login, despite having the same code base that works fine on the local server. This problem is specific to the Tutor Palm OpenEdx version in the production environment.

email password is correct but still facing issue in production not in local server

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [March 12, 2024, 6:41am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500/2 "2024-03-12T06:41:31Z")

</div>

What’s the exact error you are getting, and where? The current context is not enough to understand what might be going wrong.

---

<div class="post-metadata">

**Author:** ![Neeraj\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/neeraj_singh/32/6054_2.png) [@Neeraj\_Singh](https://discuss.openedx.org/u/Neeraj_Singh)\
**Post date:** [March 12, 2024, 7:43am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500/3 "2024-03-12T07:43:56Z")

</div>

Getting “Email or password is incorrect.”

```
   POST https://xxx.in/user_api/v1/xxx/ 400 (Bad Request)

```

---

<div class="post-metadata">

**Author:** ![Neeraj\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/neeraj_singh/32/6054_2.png) [@Neeraj\_Singh](https://discuss.openedx.org/u/Neeraj_Singh)\
**Post date:** [March 12, 2024, 11:07am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500/4 "2024-03-12T11:07:33Z")

</div>

Problem resolved actually in config file we need to remove this code like tutor file path is **tutor/tutor-plugins/myplugin.py**

```auto
 AUTHENTICATION_BACKENDS = [
    'social_core.backends.google.GoogleOAuth2',
    'social_core.backends.linkedin.LinkedinOAuth2',
    'social_core.backends.facebook.FacebookOAuth2',
    'social_core.backends.azuread.AzureADOAuth2',
    'social_core.backends.twitter.TwitterOAuth',
    'common.djangoapps.third_party_auth.identityserver3.IdentityServer3',
    'common.djangoapps.third_party_auth.dummy.DummyBackend',
    'common.djangoapps.third_party_auth.saml.SAMLAuthBackend',
    'common.djangoapps.third_party_auth.lti.LTIAuthBackend',
]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [June 10, 2024, 11:07am UTC](https://discuss.openedx.org/t/tutor-openedx-production-server-facing-email-password-authentication-issue/12500/5 "2024-06-10T11:07:37Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
