I have been using CoreOS Dex to integretae my K8s apps with LDAP. I have configured only LDAP as one of connectors whereas while redirecting it to Dex, I get an option as below:
to login with email or ldap which is misleading. Since email authentication won't work.
Is there any way I can remove the email authentication from Dex UI ?
With little more digging, I found out that I had enabled the enabledPasswordDB option as true. I believe with this parameter dex tries to look for some local email addresses to login. Once we make that to false we are able to login.