Node.js Google Authentication Using Passport.js | Signin With Google | Express, MongoDB & OAuth 2.0

preview_player
Показать описание
Google APIs use the OAuth 2.0 protocol for authentication and authorization. Google supports common OAuth 2.0 scenarios such as those for web server, client-side, installed, and limited-input device applications. If you want to learn more you can check out my youtube channel.

⌚Timestamp

0:00:00 Introduction to OAuth
0:03:20 Setup express server
0:05:53 MongoDb atles database setup
0:10:02 Create router and route using express router
0:18:28 Setup google credential
0:23:37 Using passport js
0:24:14 Setup ejs view engine and materialize CSS
0:29:11 Signin get request
0:31:36 Request to google API, successfully redirecting and getting data
0:35:12 Create schema for the database
0:37:14 Find a user from the database or create a new user
0:43:00 Setup express session and reformat routes
0:48:00 Protecting route, dashboard access, mongo store, logout
1:01:47 Setting global variable and showing the right nav item

#NodeJS #OAuth #Passport

⭕ Learn Fullstack development ⭕
✔Front-end development
✔Back-end development

⭕ Learn more ⭕

🔶🔷 FOLLOW ME 🔶🔷

🔑🔑 KEYWORDS 🔑🔑

React- Build an Image Gallery/Slide Show App
React Image Slideshow Tutorial

javascript,react,reactjs,image gallery,image slider,es6,react hooks,usestate,web development,web design,coding,learn to code,programming,thumbnail gallery,css,react slider
react,tutorial,javascript,transition,css3,html5,animation,fade in,fade out,translatex,ihatetomatoes,how to,image slideshow,slider,front-end tutorial
Рекомендации по теме
Комментарии
Автор

Your Video is really good just try improving the video quality you are going the right way

codelounge
Автор

Bhaii ankur kumar hi help karo usko error aa raha hain uppar comments mein hain uska comment

darshgautam
Автор

typeerror req.isauthenticated is not a function...help me?

arunkumara
Автор

Bhai hindi mehi banaya karo.... English samajhneme bahat dhikkat hota hai..

arindamchattopadhyay