# Login failed: Wrong email or password

**URL:** <https://community.auth0.com/t/login-failed-wrong-email-or-password/132858>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [April 26, 2024, 9:28am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858 "2024-04-26T09:28:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![razvan.mestereaga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/razvan.mestereaga/32/56697_2.png) [@razvan.mestereaga](https://community.auth0.com/u/razvan.mestereaga)\
**Post date:** [April 26, 2024, 9:28am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/1 "2024-04-26T09:28:08Z")

</div>

Hi!  
i have one application “ESP UAT Trading Web” that is connected to ESP-UAT connection. ESP-UAT connection has activated application ESP UAT Trading Web. when i test the connection from dashboard with a user that i already have in ESP-UAT connection, the connection is fine. but when i go to my application url and then redirected to auth0 login page, the login page is not working. it says wrong email or password. I looked into the logs and there says the app tries to connect to another connection that i have ESP-IAT. But my app is not connected to that connection. It shouldn’t try to connect to that. however after i test the connection of the user in dashboard, i go my application and the user is already logged in the app. So my conclusion is that something happens with the auth0 login page that redirects the authentication to another connection.

---

<div class="post-metadata">

**Author:** ![razvan.mestereaga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/razvan.mestereaga/32/56697_2.png) [@razvan.mestereaga](https://community.auth0.com/u/razvan.mestereaga)\
**Post date:** [April 26, 2024, 9:44am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/2 "2024-04-26T09:44:16Z")

</div>

also i see that forgot password also has ESP-IAT in link instead of having ESP-UAT

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/e/8ea90641211ba6da5d9b328d2ffa5f3998401923.png)

---

<div class="post-metadata">

**Author:** ![spoudel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/spoudel/32/51376_2.png) [@spoudel](https://community.auth0.com/u/spoudel)\
**Post date:** [April 26, 2024, 10:28am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/3 "2024-04-26T10:28:56Z")

</div>

Please check redirect URLs in your applications/actions and make sure that you are not redirecting to ESP-IAT instead of UAT.

---

<div class="post-metadata">

**Author:** ![razvan.mestereaga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/razvan.mestereaga/32/56697_2.png) [@razvan.mestereaga](https://community.auth0.com/u/razvan.mestereaga)\
**Post date:** [April 26, 2024, 11:57am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/4 "2024-04-26T11:57:25Z")

</div>

i checked and my app redirects to client id of ESP-UAT app

---

<div class="post-metadata">

**Author:** ![razvan.mestereaga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/razvan.mestereaga/32/56697_2.png) [@razvan.mestereaga](https://community.auth0.com/u/razvan.mestereaga)\
**Post date:** [May 1, 2024, 9:18am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/5 "2024-05-01T09:18:15Z")

</div>

i found the issue. set parameter connection name was missing. adding the last line below fixed the issue.

```auto
Notifications = new OpenIdConnectAuthenticationNotifications
{
     RedirectToIdentityProvider = notification =>
    {
        notification.ProtocolMessage.SetParameter(Auth0Configuration.ConnectionParameterName, Auth0Configuration.ConnectionName);

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 15, 2024, 9:18am UTC](https://community.auth0.com/t/login-failed-wrong-email-or-password/132858/6 "2024-05-15T09:18:57Z")

</div>

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