Nest.js login and generate JWT Token using HttpOnly Cookies. We will Login using JWT( JSON Web Token ) which is the standard method for SPA Authentications. We will not use the traditional “Bearer method” but instead we will login using HttpOnly cookies which is a more secure authentication.

00:00​ Preview
00:30​ Setup
03:08​ Database
06:49​ Register
15:17​ Login
25:26​ Authenticated User
32:14​ Logout

Source Code: https://github.com/scalablescripts/nest-auth 

Subscribe: https://www.youtube.com/channel/UCljAHzX-PBxv6WrXkI2rnQw

#nestjs #node #javascript

NestJS API Authentication using JWT Tokens
7.85 GEEK