Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to go straight to login screen, and not have login with email #1312

Closed
nikolajbrinch opened this issue Oct 9, 2018 · 6 comments

Comments

@nikolajbrinch
Copy link

HI,

Is it possible to not have the "Login with email" option on the login screen, so there would only be login with say LDAP, and then login will go directly to the credentials?
It seems like a unnecessary step for the user to have to click on login with LDAP, since itis the only option we provide, like it can be confusing.
Furthermore, is it possible to customize the login screen, so the issuer could something other than Dex? I can see the issuer is a variable in the Go template for the UI.

@ericchiang
Copy link
Contributor

Sorry having a little trouble parsing these questions. "Login with email" is require for LDAP. We have to get credentials from the user to verify them against the LDAP server.

If you disable static passwords, you'll only see the LDAP credential prompt and not have to select between email and LDAP https://github.com/dexidp/dex/blob/master/examples/config-ldap.yaml

Examples of how to customize the UI can be found here https://github.com/dexidp/dex/tree/master/web/themes/tectonic

@nikolajbrinch
Copy link
Author

Ok I found out that I had the

enablePasswordDB: true

When that was removed Dex goes directly to the LDAP login screen.

@srenatus
Copy link
Contributor

🎉

@nikolajbrinch do you think this could be closed? Or do you still have questions regarding the UI templating?

@nikolajbrinch
Copy link
Author

Yep I'll close it :-)

@jvburnes
Copy link

I'm working on a custom connector for Dex and I was confused by the same issue. Perhaps it should be documented a little better that the static password option creates another connector.

@bradj
Copy link

bradj commented Jul 27, 2022

If you disable static passwords, you'll only see the LDAP credential prompt and not have to select between email and LDAP https://github.com/dexidp/dex/blob/master/examples/config-ldap.yaml

Updated link:

https://github.com/dexidp/dex/blob/master/examples/ldap/config-ldap.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants