I am a developer and also seeking for how to implement password reset logic but found nothing. So finally by reading so many docs and learning about new technologies I have finally implemented password reset logic. I have create a blog in which I talked in depth about logic behind password reset. Right from flow chart to proper working implementation. I have used latest technologies like NextJS 15, jsonwebtoken, nodemailer, bcryptjs, MongoDB atlas. Check out my article :- link