Django Rest Framework Authentication 🔒 ✅ Scalable Auth in 27 minutes [2023]

  Рет қаралды 93,593

Adam La Morre

Adam La Morre

Күн бұрын

Пікірлер: 123
@marufbepary100
@marufbepary100 Жыл бұрын
This is precisely what I was looking for, just the backend code without the frontend. Straight to the point and just enough explanation.
@destinyobamwonyi8865
@destinyobamwonyi8865 Жыл бұрын
This is the best video I have seen in restframework, no unecessary view rendering and setting of routers and use of generics and all that, just straight forward api and response the key things to know.
@silvertechnolo3958
@silvertechnolo3958 Жыл бұрын
Way better than the university courses that just flounder and get distracted with useless things and never get to the point. Thanks!
@alfonsogutierrez3993
@alfonsogutierrez3993 Жыл бұрын
Awesome video man! Love how you explain what's actually going on and don't just write code without explaining
@GloomyPineapple
@GloomyPineapple Жыл бұрын
Fantastic work. Much better than most video out there trying to achieve the same goal. Thanks for your time.
@mimiomare9439
@mimiomare9439 5 ай бұрын
This was such a nice tutorial. Very easy to follow with thorough explanations and simple, readable code. Thanks!
@thomasguimezanes3012
@thomasguimezanes3012 Жыл бұрын
Thank you so much ! You saved my day ! Very "simple" explanation !
@lbuduen
@lbuduen 10 ай бұрын
Excellent tutorial, to the point, keep up the good work!!!👏👏👏
@dominikarndt6049
@dominikarndt6049 Жыл бұрын
Thank you so much for the amazing video, this was unbelievably helpful and uncomplicated!
@softwareengineer8923
@softwareengineer8923 6 ай бұрын
Such a nice tutorial for those who want to have a grasp on the topic quickly, keep up the high quality content
@hazematya2421
@hazematya2421 Жыл бұрын
Thanks man ! This is really awesome. Precise and concise !
9 ай бұрын
Congratulations, very simple but it covers and explains the important things.
@vignarajpai5522
@vignarajpai5522 6 ай бұрын
Thanks a lot, really easy to follow + straight to the point. Saved lots of reading time xD.
@ramiomar0
@ramiomar0 Жыл бұрын
love how you explain things, awesome explanation thank you.
@DressedHuman
@DressedHuman 7 ай бұрын
I was exactly looking for this tutorial. Thanks Adam bro. It helped me a lot. I think you are underrated. Anyone should give a look to this channel, at least this video❤❤
@ty.davis3
@ty.davis3 Жыл бұрын
I loved this video and am excited that I got this function working in my own little project!
@pranitmane
@pranitmane 8 ай бұрын
to the point and clear explanation!! this is exactly what i needed..
@NolenFelten
@NolenFelten Жыл бұрын
Hey man, just inspected the django-rest-auth code and must say, nice job.
@lfc5times130
@lfc5times130 Жыл бұрын
Very good Tutorial and we can use this in real time projects. We can add mobile number or any fields during registration process with this customisation. Thanks a lot man!
@tacca4720
@tacca4720 7 ай бұрын
Excellent, well explained, clear and concise.
@robelwondimu5527
@robelwondimu5527 7 ай бұрын
Woah, Everything is straight to the Point, Thanks man!
@lguarinosud
@lguarinosud Жыл бұрын
Mate, exactly what I was looking for, thank you! Now you mentioned that in other video you would explain the how to make ir work with JS but cant seem to find it
@hessamkk6127
@hessamkk6127 Ай бұрын
Perfect, good job bro. very useful.
@skyconet
@skyconet Жыл бұрын
Hi Adam la Morre, you are a savior. Thanks.
@jlassicp
@jlassicp 6 ай бұрын
That was very helpful ! Thanks Adam
@mingxinxu1465
@mingxinxu1465 11 ай бұрын
Solid explaination, so calm!
@maxwelljohn5585
@maxwelljohn5585 Жыл бұрын
wonderful, i would start mine ASAP. Good job.
@muhreeowki
@muhreeowki Жыл бұрын
Thank you so much for this! This was really helpful!
@sebalatorre
@sebalatorre 7 ай бұрын
Thanks for the tutorial, saved me a lot of time.
@amithaldar9390
@amithaldar9390 10 ай бұрын
Great tutorial. Thank you very much!
@emocortes4091
@emocortes4091 Жыл бұрын
Nice video, man! Keep doing that
@VamsiK98
@VamsiK98 10 ай бұрын
Hi Adam, At 20:55 i see that password isn’t hashed , i am also having same issue it is storing plain text in postgresql Database.
@alexmathew526
@alexmathew526 7 ай бұрын
Thank you. This was really helpful 🙂
@manofculture9915
@manofculture9915 Жыл бұрын
Thank you so much, your videos are really on point, keep going
@JohnBiddulph
@JohnBiddulph 10 ай бұрын
Thanks Adam, great tutotrial
@anubis_adventure
@anubis_adventure 8 ай бұрын
Thank you for this tutorial, helps me a lot
@lumiventures
@lumiventures Жыл бұрын
Thank you very much for your videos, as a student I really need it, it would be cool to see a video where detailed design work is being done on Vue js, for example, how to add new elements)
@xyanblank5410
@xyanblank5410 9 ай бұрын
Thank you very much for this video!
@kayb.804
@kayb.804 10 ай бұрын
Very good tutorial. Thank you.
@-uz
@-uz Жыл бұрын
i would love more django videos!
@Tinygamer09
@Tinygamer09 11 ай бұрын
Quality content 👌👍
@jpgeralla920
@jpgeralla920 Жыл бұрын
awesome! helped me a lot! also, i would like to ask how would you securely send the token from the server to the user/client? can you hide it or encrypt it?
@kudusbanna1439
@kudusbanna1439 Жыл бұрын
You deserve a million subscribers bro
@GuiSilva1
@GuiSilva1 8 ай бұрын
Awesome, thank you!
@sakshiagarwal2992
@sakshiagarwal2992 Жыл бұрын
Very well explained.
@Tracso13
@Tracso13 10 ай бұрын
Man you are a life saver!
@ilabdata355
@ilabdata355 5 ай бұрын
Thank U for share Bro!!! New Subscriber here!!!
@HowToDo-Relax
@HowToDo-Relax 6 ай бұрын
Well Explained
@awusacollins
@awusacollins Жыл бұрын
Great video, man!
@pencilprogrammer
@pencilprogrammer Жыл бұрын
Genuine efforts. Thanks.
@adhy612000151
@adhy612000151 Жыл бұрын
Wow!!! Thanks a lot brother!!!!!!
@maxscheel6083
@maxscheel6083 Жыл бұрын
Miss your videos bro! Are you coming back at some point?
@henoknigatu7121
@henoknigatu7121 Жыл бұрын
cool!...what about the logout?
@JuniorWog
@JuniorWog Жыл бұрын
Just excellent bro
@sijanneupane
@sijanneupane Жыл бұрын
wonderful, thanks! 🍀❤
@codedjango
@codedjango Жыл бұрын
Would like to see this with JWT authentication instead of token authentication
@faithkariuki3337
@faithkariuki3337 6 ай бұрын
Perfect👌
@MusaAytmamatov
@MusaAytmamatov Жыл бұрын
Thank you bro, you helped me a lot
@adil88201
@adil88201 Жыл бұрын
World class!
@iseminini-ubong6595
@iseminini-ubong6595 10 ай бұрын
Hi Adam, thanks I finally content on DRF authentication that actually works! Can someone else use these endpoint in some other location and they still work? I asked because I have a team working on a project with frontend and backend
@marcyvillegas5443
@marcyvillegas5443 Жыл бұрын
Thank you for this!
@Tobi_168
@Tobi_168 3 ай бұрын
perfect video
@syedadilfazal6588
@syedadilfazal6588 4 ай бұрын
Can you make a video on Refresh Token and Access Token
@duwunaung7812
@duwunaung7812 9 ай бұрын
Lovely 🎉
@sedgesv4787
@sedgesv4787 Жыл бұрын
I appreciate your work. Can you create an app with MERN stack that can send file from one computer to another with local network. and how to implement your chat app on that.
@badralwattar5799
@badralwattar5799 Жыл бұрын
Why did you set the password on the user object then saved it again? these are 2 writes on the database. can you just alter the password in the serializer and save it? 19:40
@dhoine8464
@dhoine8464 11 ай бұрын
Did you mean: if serializer.is_valid(): user = serializer.save() user.set_password(serializer.validated_data.get("password")) user.save()
@rahulvenkat3944
@rahulvenkat3944 3 ай бұрын
Hi Bro, Are you using jwt authntication i this video??
@NikolaAleksic-de1vm
@NikolaAleksic-de1vm 7 ай бұрын
How did you setup you vs to work like this...i'm new with vs code, was using pycharm
@victorchendra4282
@victorchendra4282 5 ай бұрын
Thanks for the tutorials. But, I think you miss one important thing. What about logout? 😅
@O-DogKubrick
@O-DogKubrick Жыл бұрын
Hey cousin! Got something for you this Christmas…..🎄
@Giannis-tc8nn
@Giannis-tc8nn 4 ай бұрын
Why do we need the SessionAuthentication class? We never create a session. We just pass the token on every request
@HamzaRaja-w9m
@HamzaRaja-w9m Жыл бұрын
What about the logout feature to log a user out?
@maamounhajnajeeb209
@maamounhajnajeeb209 Жыл бұрын
very good video, you forget logout func with a delete token method
@shovon64
@shovon64 10 ай бұрын
Thanks a lot man
@mhsama1
@mhsama1 Жыл бұрын
Hi thank you for your video. I have implemented logout api in views file but when sending post method to logout api i get this : "detail": "Authentication credentials were not provided." how should i send logout request?
@ademtrabelsi6039
@ademtrabelsi6039 Жыл бұрын
Hey can we get a video on chat app using angular on the frontend ?
@justme-py5tv
@justme-py5tv Жыл бұрын
thank u man🤝
@prvizpirizaditweb2324
@prvizpirizaditweb2324 2 ай бұрын
did anyone has any problem with check password? it returns false even though passwords are the same
@sebalatorre
@sebalatorre 7 ай бұрын
Question: How would you do a logout through API?
@yxtomix
@yxtomix 6 ай бұрын
you do it in the front by deleting the token from localstorage.
@ZooOmer1994
@ZooOmer1994 Жыл бұрын
Why do you create a new token for user in Login view if it hasnt been created before? Does it expires?
@victoryusmd
@victoryusmd 6 күн бұрын
why using re_path if you don't use regex !?
@predragtrajkovic4010
@predragtrajkovic4010 Жыл бұрын
Very good tutorial but you did not cover logout and you didn't explain when token will expire, also how to set more complex password rules...
@sreedharteegala455
@sreedharteegala455 Жыл бұрын
im having touble for test_token API, im tesitn gthe apis in postman, but when im testing the test_Token api , this is the response that im getting { "detail": "Authentication credentials were not provided." } I've correctly passed the token in authorization .
@Christopher-cz9iv
@Christopher-cz9iv Жыл бұрын
I have the same problem, did you find a way to solve it?
@sreedharteegala455
@sreedharteegala455 Жыл бұрын
@@Christopher-cz9iv yes , you should add a header in headers section of postman. In this case , key is 'Authorization' and value is 'Token "YOUR_TOKEN" '. And set the http request to GET and you'll get the response. Hope this helps
@Christopher-cz9iv
@Christopher-cz9iv Жыл бұрын
@@sreedharteegala455 Thank, buddy. I just tried it, and it was very helpful to me.
@jairajsahgal7101
@jairajsahgal7101 Жыл бұрын
Thank you
@anggeldwi8459
@anggeldwi8459 9 ай бұрын
what is difference path and re_path?
@Sasuke-px5km
@Sasuke-px5km Жыл бұрын
Hey sir, can you remake the tutorial but using a class based view?
@akmaljonmamatov2346
@akmaljonmamatov2346 11 ай бұрын
very good!!!!!!!!!!
@agboebuka4527
@agboebuka4527 Жыл бұрын
Please what vscode extension help you send requests easily like that
@AntonioSanchez-bi3nu
@AntonioSanchez-bi3nu Жыл бұрын
Nice video. My question is how change and recover password.
@australianman8566
@australianman8566 Жыл бұрын
what's the extension he's using on the right side of the screen to test the endpoints?
@australianman8566
@australianman8566 Жыл бұрын
nvm he mentions it at 13:30. It's called ** drumroll ** REST Client.
@codelab5383
@codelab5383 11 ай бұрын
Love you
@omegaroyal
@omegaroyal Жыл бұрын
The rest calls do not work for me. I keep getting {"detail": "Authentication credentials were not provided."} as a response. Do you have some special settings.py?
@yashraj9135
@yashraj9135 7 ай бұрын
same problem i am facing, i send the token and i get "Authenticaation credntials were not provided"
@chmod666-p
@chmod666-p Жыл бұрын
Really nice tutorial, only one thing, this way the password is not being hashed.. I'm testing and receiving the password that we set while testing API.
@janice5083
@janice5083 5 ай бұрын
so where is the link at the end of the vid
@rec-trick
@rec-trick 10 ай бұрын
please videos for django ninja ecommerce
@JJ_Seno
@JJ_Seno 8 ай бұрын
If you're on windows, the equivalent command to activate the virtual environment is ```. venv/scripts/activate```. it's a dot (.) instead of 'source', and I guess for my version, it uses Scripts instead of bin
@sarangali4595
@sarangali4595 Ай бұрын
what about logging out
@waseemsajjad6620
@waseemsajjad6620 Ай бұрын
path vs re_path?
@gabrielzanda6890
@gabrielzanda6890 Жыл бұрын
Thks man
@alexzhang9318
@alexzhang9318 Жыл бұрын
how to support token expiration?
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 342 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
API Authentication: JWT, OAuth2, and More
6:12
ByteMonk
Рет қаралды 28 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 289 М.
Django REST Framework Oversimplified
9:43
Dennis Ivy
Рет қаралды 364 М.
Django REST Framework - Build an API from Scratch
40:39
Caleb Curry
Рет қаралды 232 М.
React And Django Secure Authentication #1 | JWT tokens
19:07
Matt Makes Code
Рет қаралды 8 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 856 М.
Divide Nodes Into the Maximum Number of Groups - Leetcode 2493
29:58
ThinkOutsideTheBox
Рет қаралды 30