What problem does it solve? Integrating Google authentication securely requires handling OAuth 2.0 flows, JWT verification, token management, and browser security policies correctly. This Skill eliminates the complexity of implementing Sign In With Google safely across different application architectures, from backend-for-frontend patterns to client-only SPAs. ## Core Features & Use Cases - Secure Authentication Patterns: Implements IETF-compliant architectures (Backend For Frontend, Token-Mediating Backend, Browser-Based OAuth) with defensive coding against XSS and replay attacks. - Token Verification & Session Management: Server-side cryptographic JWT validation against Google's public keys, nonce replay protection, and secure HttpOnly cookie issuance. - Cross-Domain & Embedded Contexts: Handles One Tap in iframes, FedCM integration, Content Security Policy (CSP), Cross-Origin Opener Policy (COOP), and Permissions Policy headers. - Use Case: You are building a SaaS application and need to let users sign in with their Google account. This Skill provides complete implementation recipes for FastAPI backends, React frontends, and offline PWAs—all hardened against token theft and CSRF attacks. ## Quick Start Implement Sign In With Google using the Backend For Frontend pattern: add the GIS script to your HTML, capture the ID token in a JavaScript callback, POST it to your FastAPI endpoint which verifies the JWT cryptographically and issues an HttpOnly session cookie.