We have a WordPress website which does login through Auth0. We created a LDAP-Auth0 connection myconnection-staging while doing the development. And it was working fine. But then after we deployed the website to prod server, we switched the connection to myconnection-prod and replaced all the client_id, client_secret and audience with the prod ones. There is one user with same username and email existing in both Prod LDAP and staging LDAP. After entering this username on login and clicking Login button, the authentication succeeded but then it redirect me to a page saying “There was a problem with your log in: There is a user with the same email. [error code: unknown]”
But if we try to login with other usernames that are only existing in prod LDAP, it’s working fine.
We have tried every possible solutions. But still no luck.
Can you please help us?