Two factor Authentication with Node Js and MongoDB (Email OTP Verification)

  Рет қаралды 61,295

ToThePointCode

ToThePointCode

Күн бұрын

In this video, we use Node JS, MongoDB and Nodemailer for emails, to set up an OTP email verification backend. This completes a two factor authentication process.
GET SOURCE CODE 📀⬇️
🔴 Get Project Source Code - bit.ly/nodejs-otp-backend
🔴 All Other Source Codes & Support - bit.ly/ttpc-monthly-access
LET’S WORK
👋 You can reach me at - www.tothepointcode.com/contact
CHECK OUT THESE HELPFUL TUTORIALS
🟡 Complete React and Node JS Login System - • Login Page with React ...
🟡 Node JS Projects - • Node JS Starter Guide
🟡 React Native Projects - • React Native Starter G...
🟡 Publishing Expo React Native App to Play Store Journey
- • Publish Expo React Nat...
🟡 PHP Project
- • PHP CRUD Application f...
TOOLS USED
🟠 Tool for my thumbnail & images - partner.canva.com/ttpc
🟠 Cheap website domain name - namecheap.pxf.io/ttpc
FOLLOW US ON:
🔵 Twitter - / tothepointcode
🔵 Instagram - invitescon...
🔵 GitHub - github.com/tothepointcode
🔵 KZfaq - / @tothepointcode
CHAPTERS
00:00 What will be covered
00:30 Model Setup
01:41 Requesting an OTP starts
02:33 Generating 4 random numbers (OTP)
03:31 Requesting OTP continues
06:26 Verifying Received OTP
09:39 Resending OTP
#tothepointcode #nodejs #otp

Пікірлер: 40
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Thanks for watching! Build the frontend for this with React Native: kzfaq.info/get/bejne/qtiel7Kl1d6nZ30.html
@masterchief-00
@masterchief-00 Жыл бұрын
I have to say, I have never seen a well detailed tutorial like this in a long time. kudos!
@codewithyemi
@codewithyemi Жыл бұрын
Bro, you're doing an excellent job. Your tutorials are easy to follow. Well explained and detailed. Kudos!
@ToThePointCode
@ToThePointCode Жыл бұрын
I appreciate that!
@rmstech9933
@rmstech9933 Жыл бұрын
This is outstanding, Thank you so much:)
@neil_from_future
@neil_from_future 2 жыл бұрын
Understandable, Right to the point, Understand step by step not to fast.
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Thanks 👍
@vivekbhatt3932
@vivekbhatt3932 3 ай бұрын
Very Very helpful and easy to understand video, thanks a lot!
@scottlexium
@scottlexium 2 жыл бұрын
Lovely video very straight to the point 👍
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Thanks Scott. How's the pace? Is it followable or too fast?
@siddarthpogula2790
@siddarthpogula2790 17 күн бұрын
great one!
@youssoufouedraogo4059
@youssoufouedraogo4059 Жыл бұрын
7:40 line 206 is it supposed to be const {expireAt} = userOTPVerificationRecords[0].expiresAt?
@tyranuells8793
@tyranuells8793 2 жыл бұрын
Good videos. Keep it up!
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Thanks!
@D_Ladybug
@D_Ladybug 3 ай бұрын
Thank you.
@fuadissa9651
@fuadissa9651 Жыл бұрын
When are you doing the clean up???
@bilelrahmouni01
@bilelrahmouni01 Жыл бұрын
thank you
@ozoemenandubuisi8098
@ozoemenandubuisi8098 7 ай бұрын
your videos are well understood but they are not well serialized. i don't know where to start and which comes after which
@Collins01
@Collins01 Жыл бұрын
Hey buddy, nice content 👍
@ToThePointCode
@ToThePointCode Жыл бұрын
Hey, thanks
@ParasProgramming123
@ParasProgramming123 Жыл бұрын
Can I use Java, node js and mongodb for android studio??
@vigneshkumar8860
@vigneshkumar8860 Жыл бұрын
how to write code NodeJs.. Register sign up Using mobile Number OTP..
@kolynzb
@kolynzb 2 жыл бұрын
Thnak you Bro
@ToThePointCode
@ToThePointCode 2 жыл бұрын
👍
@kingfisher7348
@kingfisher7348 Жыл бұрын
How to verify user without userID? Like in real life project we only provide OTP.
@rajubhaivaghasiya6868
@rajubhaivaghasiya6868 2 жыл бұрын
ReferenceError: newOTPverification is not defined i am getting this error
@bagusandrewijaya
@bagusandrewijaya Жыл бұрын
bro you cant compare date like that dateexpired < datenow ? this wrong dude when you insert to mongo db dateexpire = datenow she convert to string and when your return again to your backend yo cant compare string with date this not same type date and not work
@User-083-3
@User-083-3 2 ай бұрын
Hii bro I have small help I have already code is there in that you have implement that login with OTP and after registration verification link to send with email these 2 logic implemented that code please reply
@preetsahu8723
@preetsahu8723 Жыл бұрын
Can you share the source code?
@PROTECHRAHUL
@PROTECHRAHUL Жыл бұрын
Hey did you used less secure app password in nodemailer. Or how can i use it safely
@youssoufouedraogo4059
@youssoufouedraogo4059 Жыл бұрын
if you are trying to use a less secure app, you should use a 2-factor login with secondary password
@heithemkacem4110
@heithemkacem4110 2 жыл бұрын
good video and quality of code can we add the front for it ?
@ToThePointCode
@ToThePointCode 2 жыл бұрын
That can be found here: kzfaq.info/get/bejne/qtiel7Kl1d6nZ30.html
@smarttechinfo4512
@smarttechinfo4512 2 жыл бұрын
Please create a MERN project where we have a payment system, invoice in pdf and subscription process
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Noted.
@deolinnaidoo3378
@deolinnaidoo3378 3 ай бұрын
​@@ToThePointCodehave u made the vid
@Terry565
@Terry565 2 жыл бұрын
make source code free pls
@arupde6320
@arupde6320 2 жыл бұрын
good be regular
@ToThePointCode
@ToThePointCode 2 жыл бұрын
Sure.. thanks.
Cleaning up My Node JS Express Backend Project | Login System REST API
11:47
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 18 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 108 МЛН
Send Mail with Nodemailer Using Node.js Backend
28:30
Daily Tuition
Рет қаралды 78 М.
Two Factor Authentication | Node.js & Speakeasy
24:59
Traversy Media
Рет қаралды 79 М.
Introducing 2FA with Google Authenticator and Node.js
8:13
User verification email in nextjs
56:04
Hitesh Choudhary
Рет қаралды 26 М.
Confirmation Email with Node.js
9:49
Ben Awad
Рет қаралды 136 М.
Send Emails with Nodemailer using Ethereal in Node.js in Hindi🔥
16:47
Thapa Technical
Рет қаралды 116 М.