NestJS Google OAuth 2 + React App
Sakura Dev Sakura Dev
12.2K subscribers
2,778 views
139

 Published On Aug 15, 2024

Nest JS Full Course: Episode 20

In this video, you will learn how to integrate Google OAuth with the Nest JS authentication system. Additionally, I provide a React app to demonstrate how to log in to your frontend application using your Google account with a Nest JS backend.

💖 Become a member to support me:    / @sakuradev  

Chapters
0:00 Intro
0:37 Getting Google Client ID
03:33 Config and Env
06:27 Passport Google OAuth Strategy
12:43 Google OAuth Guard
15:36 Validate Google User
19:50 Google Callback API
20:56 Sending JWT Token To Frontend
23:18 React Frontend App
25:24 Recap
27:32 Outro


GitHub Repo (Please Give it a ⭐):
https://github.com/vahid-nejad/nestjs

show more

Share/Embed