LibreChat/client/src/components/Auth
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
..
__tests__ 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
ApiErrorWatcher.tsx feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
index.ts chore(Auth): reorder exports in Auth component 2023-08-18 12:49:35 -04:00
Login.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
LoginForm.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
Registration.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
RequestPasswordReset.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
ResetPassword.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00
SocialButton.tsx 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (#1421) 2024-02-05 03:31:18 -05:00