Django API Authentication using JWT Tokens

preview_player
Показать описание

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.

This video can be combined with other videos:

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
Рекомендации по теме
Комментарии
Автор

man you are the best, straight to the point, no copy pasting, and very easy and readable code and step by step process, something that lots of tutorials struggle with, thank you so much.

dawoodsiyam
Автор

The best token based Authentication I have watched. Very detailed. Thank you

learningchannel
Автор

Thank You! You have explained it so clearly, I haven't been able to understand this since days but with this one I was able to easily

aryanagarwal
Автор

Watching this today, although this is 3 years ago and there is an optimized way to use JWT, this really helped me understand what happens during a JWT authentication. Kudos

jasonvilla
Автор

Truly the smoothest and most accurate Django-JWT Tutorial I've ever seen!!!

shagilislam
Автор

super straightforward and concise, great job!

HEATER_APP
Автор

Man you don't know how much I appreciate this video, let me tell you I've been looking for something like this for weeks, let me tell you there's nothing.

raulemilianomirandagutierr
Автор

Thanks! I had hard times trying to discover how to use jwt and you solved all questions that i had.

EveryGameArchive
Автор

Very good video! Without getting lost in the bush, getting to the concept clearly

Greetings from Argentina!

nicolasportelli
Автор

Thanks a lot man, I had a hard time until I saw this one. The explanations were on point as well, cors even fixed a front-end problem my team had. Hope you grow big!

konstantinoskostopoulos
Автор

Awesome! thanks for your explanation. I just want to remind these typical topics for django, it always important to continue improving our skills.

devniel
Автор

very well explained....loved this. Yeah, some exceptions are that, the person has to make a create_superuser function to create a superuser but its fine. JWT explained wonderfully

gamingfundas
Автор

Perfect Tutorial for basic auth so far. Loved it! Keep it up Sir! 💖

bilaltufaildev
Автор

I dont usually comment on yt videos, but this video is so damn good, with your explanations and the way how you talk.
Keep up brother

zakariaazahaf
Автор

This is an amazing video. So clear. Answered most of my questions before I asked them.

thabosiphiwemngoma
Автор

that was really helpful, and very straightforward! Thank you so much.

sorooshmoghimi
Автор

Best video for drf authentication. Totally loved it and learned a lot.

sushovitshah
Автор

This is the best video on JWT and tokens in django and django-rest-framework ... thank you million times sir ❤❤

abbaskareem
Автор

Legit helped me <3. THANKS FOR THE TUTORIAL <3

shadmanlatif
Автор

very helpful video and keeping it simple tthanks!

manolismandamadiotis