<p>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:</p>

<p><a href="https://i.stack.imgur.com/S7513.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S7513.png" alt=""></a> to login with email or ldap which is misleading.
Since email authentication won't work.</p>

<p>Is there any way I can remove the email authentication from Dex UI ?</p>

<p>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.</p>
