"Wrong Email or Password" When AD/LDAP Connection and Database Connection Enabled for Same Application.
Last Updated:
Overview
An application with both AD/LDAP enterprise connection and the Username-Password-Authentication database connection enabled for it.
When trying to log in through the application with a user that exists in our LDAP they get "Wrong email or password".
Cause
The same issue can occur with multiple AD/LDAP connections enabled.
Solution
The solution is to specify the intended connection by including a "connection" parameter in the /authorize request.
Alternatively, the AD/LDAP connections can be configured for home realm discovery, so the user's email address domain can be used to direct the user to the right connection automatically.