feat(oauth): implement OAuth page rendering and enhance authentication flow

This commit is contained in:
Anish Sarkar 2026-06-24 18:37:04 +05:30
parent c4e35ac21c
commit eb76c02d43
5 changed files with 191 additions and 21 deletions

View file

@ -8,8 +8,9 @@ HOSTED_FRONTEND_URL=http://localhost:3000
# The backend API URL used by desktop auth and refresh flows.
HOSTED_BACKEND_URL=http://localhost:8000
# Public Google OAuth Desktop app client ID. This is required for native
# loopback + PKCE login and is safe to ship in the desktop app.
# Public Google OAuth Desktop app client ID. Required for packaged desktop
# Google login using loopback + PKCE. This is safe to ship in the desktop app;
# the PKCE code verifier, not a client secret, protects the token exchange.
GOOGLE_DESKTOP_CLIENT_ID=your_google_desktop_client_id.apps.googleusercontent.com
# Runtime override for the above (read at app start, no rebuild required).