
Intro
Yes — you can do this yourself with Google, without paying an authentication provider like Clerk/Auth0/Supabase for it.
The only catch is that you still need to create a Google Cloud project/OAuth client ID because Google's Sign in with Google requires an application client ID. Google documents this as the standard setup. (Google for Developers)
You don't need Google APIs like Drive, Maps, Gmail, etc. You just need Google Identity Services:
Next.js
↓
"Sign in with Google"
↓
Google
↓
ID Token
↓
NestJS
↓
Verify token
↓
Get:
- Google user ID (sub)
- name
- email
- profile picture
↓
PostgreSQL
Google's ID token provides the identity information, and Google specifically recommends using the sub claim as the user's unique identifier. (Google for Developers)
For basic Google Sign-In, you're not paying Google per user/login.
You create:
Google Cloud project → Google Auth Platform → OAuth Client ID
and configure your website's authorized origins/redirects. (Google for Developers)
You don't need to pay for something like:
just to get:
Google name
Google email
Google profile picture
Google user ID
Since you already have:
Customer
├── id
├── clerkId
├── email
├── name
├── avatarUrl
If this Google login is only for reviews, I'd actually avoid creating a whole separate authentication system unless you need customers to have accounts.
You could instead create:
Reviewer
├── id
├── googleId
├── email
├── name
├── avatarUrl
├── createdAt
└── updatedAt
Then:
Reviewer
│
└──< Review >── Provider
The reviewer clicks:
⭐ Write a review → Sign in with Google
Google authenticates them → your NestJS backend verifies the ID token → creates/finds the Reviewer → lets them submit the review.
This is a very lightweight and essentially free approach for your use case.
Services
Events covered
Service area
Reviews