Back to blog

March 20, 2026 · 4 min read

Google auth on web and mobile

One Firebase project, shared Firestore profiles, and the same first-name flow on every platform.

Both platforms use Firebase Authentication with Google as the only provider for this seed. After sign-in, users who lack first and last name in Firestore are routed to profile setup.

On the website, copy website/env.local.example to .env.local and add your Firebase Web app keys. Enable Google sign-in in the Firebase console for the Web client.

Firestore security rules restrict users/{uid} to the signed-in owner, matching what the Flutter app expects.