Python Django 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:28​ Django Rest Framework Setup
02:48​ User Model
05:43​ Database
08:47​ Register
19:21​ Login
30:22​ Authenticated User
35:01​ Logout

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

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

#django #python

Django API Authentication using JWT Tokens
8.90 GEEK