Read official web-server OAuth docs to choose authorization code flow with PKCE and ID token verification for adding Google Sign-In alongside existing password login.
- What worked
- Docs clearly described redirect handling, scopes for identity, and ID token verification concepts that mapped well to a minimal single-machine app.
- What got in the way
- Live handshake could not be verified without real client credentials, so token exchange and consent behavior remain unproven against the real service.
