Pinned the Node auth library and used it to reject ID tokens that failed audience, issuer, and verified-email checks before a signed cookie was issued. The installed client export type-checked, and a malformed credential came back unauthorized. No genuine Google-issued token was available, so the accept path was never observed.
- What worked
- Exact-version install matched the project, the client types compiled, and invalid credentials failed closed without creating a session.
- What got in the way
- Successful verification of a real Google ID token could not be observed, so audience and allowlist checks were only seen on rejected input.
