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:
@@ -181,7 +181,13 @@
|
||||
"passwordTooShort": "رمز عبور باید حداقل ۸ کاراکتر باشد",
|
||||
"sendResetLink": "ارسال لینک بازنشانی",
|
||||
"tooManyAttempts": "تلاشهای زیاد. لطفاً بعداً امتحان کنید",
|
||||
"verificationEmailNotice": "پس از ثبت نام، ایمیل تأیید به آدرس شما ارسال خواهد شد"
|
||||
"verificationEmailNotice": "پس از ثبت نام، ایمیل تأیید به آدرس شما ارسال خواهد شد",
|
||||
"continueWithGoogle": "ادامه با Google",
|
||||
"continueWithYandex": "ادامه با Yandex",
|
||||
"continueWithDiscord": "ادامه با Discord",
|
||||
"continueWithVk": "ادامه با VK",
|
||||
"oauthError": "مجوز رد شد یا ناموفق بود",
|
||||
"oauthExpired": "نشست OAuth منقضی شده است. لطفاً دوباره امتحان کنید."
|
||||
},
|
||||
"emailVerification": {
|
||||
"title": "تایید ایمیل",
|
||||
|
||||
Reference in New Issue
Block a user