Check our website: https://scalablescripts.com
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.
Source Code: https://github.com/scalablescripts/dj...
This video can be combined with other videos:
React and Django JWT Authentication: • React & Django JWT Authentication
VueJs and Django JWT Authentication: • VueJS & Django JWT Authentication
Angular and Django JWT Authentication: • Angular & Django JWT Authentication
NextJS and Django JWT Authentication: • NextJS & Django JWT Authentication
NuxtJS and Django JWT Authentication: • NuxtJS and Django JWT Authentication
Svelte and Django JWT Authentication: • Svelte & Django JWT 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
#python #django