mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: add OAuth 2.0 login UI (Google, Yandex, Discord, VK)
- Add OAuthProvider type and extend User.auth_type union - Add OAuth API methods (providers, authorize, callback) - Add loginWithOAuth to auth store - Create OAuthCallback page with state validation - Create OAuthProviderIcon component with brand SVGs - Add OAuth buttons to Login page between Telegram and Email - Add OAuth callback route to App.tsx - Add translations for ru, en, zh, fa
This commit is contained in:
@@ -190,7 +190,13 @@
|
||||
"clickLinkToVerify": "Перейдите по ссылке в письме, чтобы подтвердить аккаунт и войти.",
|
||||
"backToLogin": "Вернуться ко входу",
|
||||
"emailNotVerified": "Сначала подтвердите email",
|
||||
"loginSuccess": "Авторизация успешна"
|
||||
"loginSuccess": "Авторизация успешна",
|
||||
"continueWithGoogle": "Продолжить через Google",
|
||||
"continueWithYandex": "Продолжить через Яндекс",
|
||||
"continueWithDiscord": "Продолжить через Discord",
|
||||
"continueWithVk": "Продолжить через VK",
|
||||
"oauthError": "Авторизация отклонена или не удалась",
|
||||
"oauthExpired": "Сессия OAuth истекла. Попробуйте снова."
|
||||
},
|
||||
"emailVerification": {
|
||||
"title": "Подтверждение email",
|
||||
|
||||
Reference in New Issue
Block a user