couldn't understand anything in the video, what is happening? was there any more prerequisites that I am missing out on? I do not understand the use case of Token and then hashing random value via bcryptjs why is that? i have a lot of questions where can I ask them ?
PREREQUISTES :react js transcript , and follow hitesh sir next js series ..now for your question about hashing and bcrypts imagine you are announcing password as simple text in public versus you annnouncing your password as another language nobody understand except you can understand . bcryptjs uses encryption which is way to hide your persnal or sensitive info in secure way and
i just couldn't understand something, when we make a call to API and that API fires the sendMail helper function which verifies the user and then send email to the user to verify? after he has been verified ? someone please explain this to me
24:31 here line no 17 is not working for me. Anyone can tell me this reason. Because Date.now() method returns the milliseconds value of the current time but in mongodb verifyTokenExpiry is set with Date string then how $gt can compare it? So, for me this is not working..now my problem is solved after converting verifyTokenExpiry to milliseconds. But i want to know, how it worked for Hitesh sir....???
Hey, node or nodemailer and in this case the mailer.js can't work on client side. The mailer.js works on the server side and thats why you have to fetch the mailer.js in your "use client" component like so: const registeredUser = await res.json(); try { const response = await fetch("/api/user/mailer", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ email: registeredUser.email, emailType: "VERIFY", userId: registeredUser._id, }), }); after the changes the: Module not found: Can't resolve ... errors will be gone.
Just completed this series and absolutely loved it. Excellent work Hitesh, please never stop teaching❤
Thanks Sir for Providing this level of Quality Content on RUclips 🙇🙏🙏
This next series are really awesome and help full. Thank you for the awesome series @Hitesh
This is the course that I was searching in the web for like weeks. Thanks for your time and knowledge you shared with us.
I feel sad that this series ended. Wish it could get some more episodes.
Wow i thought per day one video , but this speed and quality of content really amazing man.... Bow for your dedication and Hard work
Thank you so much 😀
Really helpful, Hitesh sir = Super saiyyan
ThankYou So Much Learned So Much
Awesome! thank you!
couldn't understand anything in the video, what is happening? was there any more prerequisites that I am missing out on?
I do not understand the use case of Token and then hashing random value via bcryptjs why is that?
i have a lot of questions where can I ask them ?
PREREQUISTES :react js transcript , and follow hitesh sir next js series ..now for your question about hashing and bcrypts
imagine you are announcing password as simple text in public versus you annnouncing your password as another language nobody understand except you can understand . bcryptjs uses encryption which is way to hide your persnal or sensitive info in secure way and
Love from uttarakhand haridwar ❤
Bro May Allah bless you witu lot of knowledge 🙏
implemented the forgot-password functionality.
i just couldn't understand something, when we make a call to API and that API fires the sendMail helper function which verifies the user and then send email to the user to verify? after he has been verified ? someone please explain this to me
24:31 here line no 17 is not working for me. Anyone can tell me this reason. Because Date.now() method returns the milliseconds value of the current time but in mongodb verifyTokenExpiry is set with Date string then how $gt can compare it?
So, for me this is not working..now my problem is solved after converting verifyTokenExpiry to milliseconds. But i want to know, how it worked for Hitesh sir....???
Please extend it ❤
Please cover "Refresh Token" topic
Thank you so much sir ( you are working so much hard for us )
i think there is a problem after signup we can login and if we login we can not go to /verifyemail hence email not verified
thank you so much for the course
Thank you for your next series
Please extend it!
Please extend it
Hitesh Choozy Nice!!
sure
Oauth bhi add kar do playlist me to sone pe suhaga
Will do testing in nestJS with authentication and session? Struggling with that…
Plz make a more complex nextjs project 🎉
Great, thank you!
Added the forgot password functionality and toast notf.
Can you please share your repo link of forget password functionality
I have faced lot of difficulty while trying to do Gmail part of it and not mailtrap. Anyone could please help out here
Getting below error :
./node_modules/nodemailer/lib/dkim/index.js:10:0
Module not found: Can't resolve 'fs'
Please help.
Hey, node or nodemailer and in this case the mailer.js can't work on client side. The mailer.js works on the server side and thats why you have to fetch the mailer.js in your "use client" component like so:
const registeredUser = await res.json();
try {
const response = await fetch("/api/user/mailer", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
email: registeredUser.email,
emailType: "VERIFY",
userId: registeredUser._id,
}),
});
after the changes the: Module not found: Can't resolve ... errors will be gone.
Sir AGER AP Urdu YA Hindi Janette HY to Hindi me bi video's bana dete or easy ho JATTAA
❤
First view...
.
Please extend it
Please extend it ❤