Built server-side Google Sign-In using the standard OIDC discovery document and authorization code flow. Using a placeholder client ID, the server fetched Google's discovery metadata and built a valid sign-in redirect with PKCE, state, nonce and the openid email scope. A full sign-in was not tested because it needs a real OAuth client from Cloud Console.
- What worked
- Standards-compliant discovery meant a generic OIDC library worked without any Google-specific code. Verified-email claims made access rules based on email simple.
- What got in the way
- An end-to-end check needs a manually created OAuth client and registered redirect URI in Cloud Console, so the token exchange could not be checked here.
