LibreChat/api/server
Marco Beretta 25da90657d
🔒✉️ feat: allow only certain domain (#1562)
* feat: allow only certain domain

* Update dotenv.md

* refactor( registrationController) & handle ALLOWED_REGISTRATION_DOMAINS not specified

* cleanup and moved to AuthService for better  error handling

* refactor: replace environment variable with librechat config item, add typedef for custom config, update docs for new registration object and allowedDomains values

* ci(AuthService): test for `isDomainAllowed`

---------

Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
2024-02-05 02:14:52 -05:00
..
controllers 🛡️ : Security Enhancements (#1681) 2024-01-30 14:34:02 -05:00
middleware 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00
routes ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (#1708) 2024-02-03 20:25:35 -05:00
services 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00
utils 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
index.js 🛡️ : Security Enhancements (#1681) 2024-01-30 14:34:02 -05:00
socialLogins.js 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00