Sep 25, 2026Sep 25, 2026 · 12 min readSign in With Google in Node.js — Without PassportBuild Google OAuth from first principles using PKCE, state validation, secure token exchange, refresh tokens, and JWT sessions in Node.js—without Passport.js or authentication libraries.12 min read