Originally created by @Louden7 on GitHub (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.
Originally created by @Louden7 on GitHub (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.
@Seth-Rothschild commented on GitHub (Jul 7, 2024):
@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.
@Seth-Rothschild commented on GitHub (Jul 7, 2024):
@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`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Louden7 on GitHub (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 whenENABLE_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.
@tjbck commented on GitHub (Jul 6, 2024):
PR welcome!
@Seth-Rothschild commented on GitHub (Jul 7, 2024):
@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_LOGINwhich defaults totrueand hides the password form when it's switched tofalse.@ghost commented on GitHub (Jul 18, 2024):
Has there been any progress in merging this to the main branch.
@Louden7 commented on GitHub (Jul 25, 2024):
Closing with the recent merge #4068.