fix(auth): revoke JWT on logout and harden Google sign-in
Logout now increments sessionVersion so existing JWTs are rejected server-side, deletes orphaned DB sessions, and uses redirectTo for signOut. Google OAuth requests account selection each time; optional AUTH_GOOGLE_PROMPT=login forces Google re-authentication on shared devices. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
"rememberMe": "Remember me",
|
||||
"orContinueWith": "Or continue with",
|
||||
"continueWithGoogle": "Continue with Google",
|
||||
"sessionExpired": "Your session has expired. Please sign in again.",
|
||||
"oauthAccountNotLinked": "This Google account does not match your existing account. Use the same email or sign in with your password.",
|
||||
"checkYourEmail": "Check your email",
|
||||
"resetEmailSent": "We have sent a password reset link to your email address if it exists in our system.",
|
||||
"returnToLogin": "Return to Login",
|
||||
|
||||
Reference in New Issue
Block a user