MERN stack secure authentication Part 5 | Registering users | JWT, Cookies, Bcrypt, React Hooks.

Published: 26 January 2021
on channel: Devistry
9,448
188

Updated 2021 MERN stack user authentication tutorial series. In this tutorial series, I'm setting up a project template for working with user authentication in the MERN stack. You will learn to register user accounts to a MongoDB database, log in users on the react frontend and verify logged in users. The authentication is secured by technologies such as JsonWebTokens, Bcrypt and HTTP-only cookies. We'll be using react hooks and the context API to deal with the state management of the user authentication in the frontend.

MERN stack complete course: https://www.udemy.com/course/mern-sta...

Insomnia API tester: https://insomnia.rest/
Finished code on github: https://github.com/jgbijlsma/mern-aut...

Chapters
00:00 Hashing passwords wit Bcrypt
03:19 Save user to the database
05:59 Login access token with JWT
15:22 Send access token in a cookie


Watch video MERN stack secure authentication Part 5 | Registering users | JWT, Cookies, Bcrypt, React Hooks. online without registration, duration hours minute second in high quality. This video was added by user Devistry 26 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,448 once and liked it 188 people.