Learn how to Login with React and handle 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
01:40 Prebuilt backend
04:06 Installation
05:15 Template
11:49 Router
15:57 Register
24:05 Login
27:27 Authenticated User
31:31 Logout
36:09 Final Changes
Source Code: https://github.com/scalablescripts/react-auth
Auth API: https://github.com/scalablescripts/auth-api
Subscribe: https://www.youtube.com/channel/UCljAHzX-PBxv6WrXkI2rnQw
#react #javascript