---
title: "Discussion on \"Sign in With Google in Node.js — Without Passport\" | Hashnode"
description: "Discussion on \"Sign in With Google in Node.js — Without Passport\". Build 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."
url: "https://hashnode.com/posts/sign-in-with-google-in-nodejs-without-passport/6ab6a4f4f5a8f8af31ff9197"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sign in With Google in Node.js — Without Passport](https://blog.zyvop.com/sign-in-with-google-in-nodejs-without-passport?utm_source=hashnode&utm_medium=feed)

Build 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.

Sep 25 · 12 min read · blog.zyvop.com  
Read the article

-   [#authentication](https://hashnode.com/tag/authentication)
-   [#googleoauth](https://hashnode.com/tag/googleoauth)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#oauth20](https://hashnode.com/tag/oauth20)

## Written by

[ZyVOP](https://hashnode.com/@zyvop)

@zyvop · Delhi, India

  
[View profile](https://hashnode.com/@zyvop)

The Developer Publishing Hub

One platform to write, cross-post to Dev.to, Medium, WordPress, Hashnode, and Bluesky, and protect your SEO with canonical links. Zero paywalls and full content ownership.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
