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

enh: Allow Only OAuth Signup/Signin #3663

Open
Louden7 opened this issue Jul 6, 2024 · 2 comments
Open

enh: Allow Only OAuth Signup/Signin #3663

Louden7 opened this issue Jul 6, 2024 · 2 comments

Comments

@Louden7
Copy link

Louden7 commented Jul 6, 2024

Describe the solution you'd like
With the ability to sign up/in now with OAuth2, the option to only allow OAuth2 and remove the default email and password fields would be a great feature. This could be accomplished by adding a new optional environment variable to "hide" or remove the default email and password fields. The optional environment variable would have a default value of false (not hidden) and only used when ENABLE_OAUTH_SIGNUP=true.

Describe alternatives you've considered
Able to disable signups with environment variables but this does not remove the username and password fields resulting in a undesired cluttering when only wanting to use OAuth for logins.

@Louden7 Louden7 changed the title Allow Only OAuth Signup/Signin feat: Allow Only OAuth Signup/Signin Jul 6, 2024
@tjbck tjbck changed the title feat: Allow Only OAuth Signup/Signin enh: Allow Only OAuth Signup/Signin Jul 6, 2024
@tjbck
Copy link
Contributor

tjbck commented Jul 6, 2024

PR welcome!

@Seth-Rothschild
Copy link

@Louden7 I care about this too! If it's ok with you I can put in a PR for it. I have a branch at https://github.com/Seth-Rothschild/open-webui/tree/hide-password-login that adds an environment variable ENABLE_PASSWORD_LOGIN which defaults to true and hides the password form when it's switched to false.

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

No branches or pull requests

3 participants