LibreChat/api
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
..
app 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (#1703) 2024-02-02 00:42:11 -05:00
cache 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00
config 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00
lib 🔄 refactor: Consolidate Ask/Edit Controllers (#1365) 2023-12-15 15:47:40 -05:00
models ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (#1708) 2024-02-03 20:25:35 -05:00
server 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00
strategies 🛡️ : Security Enhancements (#1681) 2024-01-30 14:34:02 -05:00
test 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00
utils 🪙 fix(getModelMaxTokens): Retrieve Correct Context Tokens for Azure OpenAI (#1710) 2024-02-02 23:53:50 -05:00
jest.config.js fix: Enhance Test Coverage and Fix Compatibility Issues 👷‍♂️ (#1363) 2023-12-15 13:27:13 -05:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json 🐞 fix: Bump @langchain/google-genai to Address Chinese Text Bug (#1654) 2024-01-26 16:08:02 -05:00
typedefs.js 🔒✉️ feat: allow only certain domain (#1562) 2024-02-05 02:14:52 -05:00