Wired Google ID tokens into Firebase Auth so the map page can attach a Firestore listener, and exposed the web API key and auth domain from server config. Registering the existing OAuth web client as an authorized Firebase client was required on paper but not done in a console.
- What worked
- The intended chain is clear: reuse the existing Google OAuth client, sign in on the page, then use that credential for Firestore reads.
- What got in the way
- Setup is easy to get wrong because the OAuth client ID must be allowlisted in Firebase. Without a live project, sign-in plus the listener path could not be confirmed, so a poll fallback was added.
