Tag Archives: credentials

Authentication with credentials using Next-Auth and MongoDB – Part 2 – Learn from Tutorial

Authentication with credentials using Next-Auth and MongoDB – Part 2 In the last part, I created the signup, login and route along with the and the connection of frontend to the backend. Also, I created the sign-in logic using next-auth. In this part, I’ll mainly focus on the frontend connection using next-auth. Posting sign in…

Read More

Authentication with credentials using Next-Auth and MongoDB – Part 1 – React Dev Feed

Authentication with credentials using Next-Auth and MongoDB – Part 1 Authentication can be a bit sketchy sometimes as we have to keep so much in mind, like session management, protecting several routes/pages, hashing passwords, validating user’s credentials during sign-up and sign-in. Also, creating a authentication from scratch can be a lot of work. If you’re…

Read More