Unable to login to the application throught the UserName

We are using our own DB connection in AuthO, we have configured email and user attributes in the DB connection.

issue: we are able to signup for the user. with mail and username. but while trying to login with the user-login through the username we are getting error that user name or password is wrong but when we try to login with the email of the user for the same account we are able to login.

The attribute configurations for email and user are below that we have confgured.
Email:

username:

Hi @yellowblockllp

Welcome to the Auth0 Community!

Based on your description, your setup from the Auth0 point of view to require both email and username looks properly. Please verify your login script that is properly checks with your own database for username or email address.

Thanks
Dawid

HI @dawid.matuszczyk
We are experiencing an issue with username-based login for a specific account, while the same script works perfectly for email-based login. The script has been verified and is functioning correctly with another account for both username and email login.

Key Details:

  1. Script Verification:
  • The script has been tested and verified to be working correctly.
  • The same script works fine for another account (both username and email login).
  1. Issue Observed:
  • With the current account:
    • Email login: Successful.
    • Username login: The script-level response shows success, but the callback returns an error.
  1. Environment Details:

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