LibreChat/api/server/services
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
..
Config 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (#1703) 2024-02-02 00:42:11 -05:00
Endpoints ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (#1708) 2024-02-03 20:25:35 -05:00
Files 📷 fix: Pass Base64 to Gemini Vision Payload when using CDN URLs (#1705) 2024-02-02 01:37:40 -05:00
Runs refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
AppService.js 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00
AssistantService.js ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (#1708) 2024-02-03 20:25:35 -05:00
AuthService.js 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00
AuthService.spec.js 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00
ModelService.js 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (#1703) 2024-02-02 00:42:11 -05:00
PluginService.js fix(getUserPluginAuthValue): throws error if no user matches (#1522) 2024-01-08 11:12:51 -05:00
signPayload.js chore: remove jose as Bun now supports JWT 🍞 (#1167) 2023-11-12 00:44:46 -05:00
UserService.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00