LibreChat/api/server/services
Marco Beretta a2c35e8415
🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421)
* refactor(Login & Registration)

* fix(Registration) test errors

* refactor(LoginForm & ResetPassword)

* fix(LoginForm): display 'undefined' when loading page; style(SocialButton): match OpenAI's graphics

* some refactor and style update for social logins

* style: width like OpenAI; feat: custom social login order; refactor: alphabetical socials

* fix(Registration & Login) test

* Update .env.example

* Update .env.example

* Update dotenv.md

* refactor: remove `SOCIAL_LOGIN_ORDER` for `socialLogins` configured from `librechat.yaml`
- initialized by AppService, attached as app.locals property
- rename socialLoginOrder and loginOrder to socialLogins app-wide for consistency
- update types and docs
- initialize config variable as array and not singular string to parse
- bump data-provider to 0.3.9

---------

Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
2024-02-05 03:31:18 -05:00
..
Config 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -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 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -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