mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +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:
@@ -187,7 +187,13 @@
|
||||
"forgotPasswordHint": "Enter your email to receive a reset link",
|
||||
"loginSuccess": "Login successful",
|
||||
"passwordResetSent": "Password reset link sent to your email",
|
||||
"sendResetLink": "Send reset link"
|
||||
"sendResetLink": "Send reset link",
|
||||
"continueWithGoogle": "Continue with Google",
|
||||
"continueWithYandex": "Continue with Yandex",
|
||||
"continueWithDiscord": "Continue with Discord",
|
||||
"continueWithVk": "Continue with VK",
|
||||
"oauthError": "Authorization was denied or failed",
|
||||
"oauthExpired": "OAuth session expired. Please try again."
|
||||
},
|
||||
"emailVerification": {
|
||||
"title": "Email Verification",
|
||||
|
||||
Reference in New Issue
Block a user