-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Enhancement: Restrict registration to certain domains (for small business use) #1555
Comments
I agree it's somewhat trivial to add but why not use OpenID for this use case? |
Smaller companies w/o IT focus might not have proper IDM/SSO, but most have business e-mail addresses. (facing this situation currently, not sure how to solve best... domain restriction would be simple + effective) 🙏🏻 |
Now implemented through the librechat.yaml config file: https://docs.librechat.ai/install/configuration/custom_config.html#registration-object-structure |
Thank you so much 🙏🏻 |
@danny-avila users have to click on a "confirm email" link on registration, right? https://docs.librechat.ai/install/configuration/dotenv.html#registration-and-login |
There's no confirmation email sent to the users on registration |
Yeah there is not a lot of email service through this app, with the only exception made for password reset for the simple security that offers. A bare-bones implementation of that would be good for a future PR but that is not yet implemented nor a priority. Leaving this as reference of a very simple example to use as reference: https://blog.bitsrc.io/email-confirmation-with-react-257e5d9de725 |
That explains why there is no mention of it in the documentation. Added #1728, so the idea doesn't get lost. Thank you gents 🙏🏻 |
What features would you like to see added?
Hi, it would be great, if e-mail registration could be restricted to company domains.
More details
This prevents unauthorized users to register, and should be fairly trivial to add. Boosting business use is a good idea for any open-source project.
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: