feat: implement Google OAuth authentication #1

Merged
andrey merged 1 commits from 001-google-oauth-auth into main 2026-01-29 16:37:28 +00:00
Owner
  • Add Google OAuth 2.0 login flow with passport-google-oauth20
  • Create User and RefreshToken entities for session management
  • Implement JWT access tokens (15min) + HttpOnly refresh cookies (7 days)
  • Add auth endpoints: /google, /google/callback, /refresh, /me, /logout
  • Create LoginPage with Google sign-in button (shadcn/ui)
  • Add AuthGuard for protected routes with redirect preservation
  • Implement silent token refresh on app mount
  • Add UserMenu component with avatar and sign-out

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

- Add Google OAuth 2.0 login flow with passport-google-oauth20 - Create User and RefreshToken entities for session management - Implement JWT access tokens (15min) + HttpOnly refresh cookies (7 days) - Add auth endpoints: /google, /google/callback, /refresh, /me, /logout - Create LoginPage with Google sign-in button (shadcn/ui) - Add AuthGuard for protected routes with redirect preservation - Implement silent token refresh on app mount - Add UserMenu component with avatar and sign-out Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
andrey added 1 commit 2026-01-29 16:37:21 +00:00
- Add Google OAuth 2.0 login flow with passport-google-oauth20
- Create User and RefreshToken entities for session management
- Implement JWT access tokens (15min) + HttpOnly refresh cookies (7 days)
- Add auth endpoints: /google, /google/callback, /refresh, /me, /logout
- Create LoginPage with Google sign-in button (shadcn/ui)
- Add AuthGuard for protected routes with redirect preservation
- Implement silent token refresh on app mount
- Add UserMenu component with avatar and sign-out

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
andrey merged commit 7627a00303 into main 2026-01-29 16:37:28 +00:00
andrey deleted branch 001-google-oauth-auth 2026-01-29 16:37:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: prevthumb/frontend#1