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

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 เม.ย. 2023
  • Learn Django Rest authentication in a simple, scalable way!
    Django REST framework Auth Token is a built-in token authentication system that comes with Django REST framework (DRF). It is a simple token-based authentication mechanism that allows clients to authenticate with the server by providing an API token.
    Clone the code here: github.com/alamorre/django-re...

ความคิดเห็น • 93

  • @marufbepary100
    @marufbepary100 11 หลายเดือนก่อน +34

    This is precisely what I was looking for, just the backend code without the frontend. Straight to the point and just enough explanation.

  • @alfonsogutierrez3993
    @alfonsogutierrez3993 11 หลายเดือนก่อน +5

    Awesome video man! Love how you explain what's actually going on and don't just write code without explaining

  • @GloomyPineapple
    @GloomyPineapple 11 หลายเดือนก่อน +2

    Fantastic work. Much better than most video out there trying to achieve the same goal. Thanks for your time.

  • @destinyobamwonyi8865
    @destinyobamwonyi8865 4 หลายเดือนก่อน +4

    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.

  • @thomasguimezanes3012
    @thomasguimezanes3012 11 หลายเดือนก่อน +3

    Thank you so much ! You saved my day ! Very "simple" explanation !

  • @dominikarndt6049
    @dominikarndt6049 8 หลายเดือนก่อน +2

    Thank you so much for the amazing video, this was unbelievably helpful and uncomplicated!

  • @hazematya2421
    @hazematya2421 6 หลายเดือนก่อน +1

    Thanks man ! This is really awesome. Precise and concise !

  • @ty.davis3
    @ty.davis3 6 หลายเดือนก่อน

    I loved this video and am excited that I got this function working in my own little project!

  • @ramiomar4673
    @ramiomar4673 9 หลายเดือนก่อน

    love how you explain things, awesome explanation thank you.

  • @lfc5times130
    @lfc5times130 7 หลายเดือนก่อน

    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!

  • @silvertechnolo3958
    @silvertechnolo3958 5 หลายเดือนก่อน +1

    Way better than the university courses that just flounder and get distracted with useless things and never get to the point. Thanks!

  • @NolenFelten
    @NolenFelten 10 หลายเดือนก่อน +1

    Hey man, just inspected the django-rest-auth code and must say, nice job.

  • @lbuduen
    @lbuduen 2 หลายเดือนก่อน

    Excellent tutorial, to the point, keep up the good work!!!👏👏👏

  • @lguarinosud
    @lguarinosud 5 หลายเดือนก่อน

    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

  • @muhreeowki
    @muhreeowki 6 หลายเดือนก่อน

    Thank you so much for this! This was really helpful!

  •  หลายเดือนก่อน

    Congratulations, very simple but it covers and explains the important things.

  • @manofculture9915
    @manofculture9915 ปีที่แล้ว

    Thank you so much, your videos are really on point, keep going

  • @pranitmane
    @pranitmane หลายเดือนก่อน

    to the point and clear explanation!! this is exactly what i needed..

  • @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)

  • @maxwelljohn5585
    @maxwelljohn5585 7 หลายเดือนก่อน

    wonderful, i would start mine ASAP. Good job.

  • @emocortes4091
    @emocortes4091 7 หลายเดือนก่อน

    Nice video, man! Keep doing that

  • @tacca4720
    @tacca4720 4 วันที่ผ่านมา

    Excellent, well explained, clear and concise.

  • @mingxinxu1465
    @mingxinxu1465 3 หลายเดือนก่อน

    Solid explaination, so calm!

  • @amithaldar9390
    @amithaldar9390 2 หลายเดือนก่อน

    Great tutorial. Thank you very much!

  • @skyconet
    @skyconet 7 หลายเดือนก่อน

    Hi Adam la Morre, you are a savior. Thanks.

  • @xyanblank5410
    @xyanblank5410 หลายเดือนก่อน

    Thank you very much for this video!

  • @JohnBiddulph
    @JohnBiddulph 3 หลายเดือนก่อน

    Thanks Adam, great tutotrial

  • @awusacollins
    @awusacollins 11 หลายเดือนก่อน

    Great video, man!

  • @jpgeralla920
    @jpgeralla920 10 หลายเดือนก่อน +2

    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?

  • @-uz
    @-uz 10 หลายเดือนก่อน

    i would love more django videos!

  • @anubis_adventure
    @anubis_adventure 16 วันที่ผ่านมา

    Thank you for this tutorial, helps me a lot

  • @GuiSilva1
    @GuiSilva1 27 วันที่ผ่านมา

    Awesome, thank you!

  • @kayb.804
    @kayb.804 3 หลายเดือนก่อน

    Very good tutorial.
    Thank you.

  • @pencilprogrammer
    @pencilprogrammer 7 หลายเดือนก่อน

    Genuine efforts. Thanks.

  • @sakshiagarwal2992
    @sakshiagarwal2992 8 หลายเดือนก่อน

    Very well explained.

  • @sijanneupane
    @sijanneupane 10 หลายเดือนก่อน

    wonderful, thanks! 🍀❤

  • @MusaAytmamatov
    @MusaAytmamatov 9 หลายเดือนก่อน

    Thank you bro, you helped me a lot

  • @marcyvillegas5443
    @marcyvillegas5443 ปีที่แล้ว

    Thank you for this!

  • @Tracso13
    @Tracso13 2 หลายเดือนก่อน

    Man you are a life saver!

  • @kudusbanna1439
    @kudusbanna1439 11 หลายเดือนก่อน

    You deserve a million subscribers bro

  • @adhy612000151
    @adhy612000151 11 หลายเดือนก่อน

    Wow!!!
    Thanks a lot brother!!!!!!

  • @Tinygamer09
    @Tinygamer09 3 หลายเดือนก่อน

    Quality content 👌👍

  • @JuniorWog
    @JuniorWog 6 หลายเดือนก่อน

    Just excellent bro

  • @adil88201
    @adil88201 11 หลายเดือนก่อน

    World class!

  • @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.

  • @shovon64
    @shovon64 3 หลายเดือนก่อน

    Thanks a lot man

  • @maamounhajnajeeb209
    @maamounhajnajeeb209 10 หลายเดือนก่อน

    very good video, you forget logout func with a delete token method

  • @duwunaung7812
    @duwunaung7812 2 หลายเดือนก่อน

    Lovely 🎉

  • @iseminini-ubong6595
    @iseminini-ubong6595 2 หลายเดือนก่อน

    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

  • @justme-py5tv
    @justme-py5tv 8 หลายเดือนก่อน

    thank u man🤝

  • @jairajsahgal7101
    @jairajsahgal7101 6 หลายเดือนก่อน

    Thank you

  • @maxscheel6083
    @maxscheel6083 4 หลายเดือนก่อน

    Miss your videos bro! Are you coming back at some point?

  • @henoknigatu7121
    @henoknigatu7121 10 หลายเดือนก่อน +1

    cool!...what about the logout?

  • @codelab5383
    @codelab5383 3 หลายเดือนก่อน

    Love you

  • @mboukhal104
    @mboukhal104 หลายเดือนก่อน

    thank you

  • @akmaljonmamatov2346
    @akmaljonmamatov2346 3 หลายเดือนก่อน

    very good!!!!!!!!!!

  • @ademtrabelsi6039
    @ademtrabelsi6039 ปีที่แล้ว

    Hey can we get a video on chat app using angular on the frontend ?

  • @codedjango
    @codedjango 5 หลายเดือนก่อน +1

    Would like to see this with JWT authentication instead of token authentication

  • @Sasuke-px5km
    @Sasuke-px5km 8 หลายเดือนก่อน

    Hey sir, can you remake the tutorial but using a class based view?

  • @gabrielzanda6890
    @gabrielzanda6890 7 หลายเดือนก่อน

    Thks man

  • @AntonioSanchez-bi3nu
    @AntonioSanchez-bi3nu ปีที่แล้ว +2

    Nice video. My question is how change and recover password.

  • @predragtrajkovic4010
    @predragtrajkovic4010 9 หลายเดือนก่อน

    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...

  • @mhsama1
    @mhsama1 6 หลายเดือนก่อน

    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?

  • @VamsiK98
    @VamsiK98 3 หลายเดือนก่อน

    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.

  • @O-DogKubrick
    @O-DogKubrick 6 หลายเดือนก่อน

    Hey cousin! Got something for you this Christmas…..🎄

  • @ZooOmer1994
    @ZooOmer1994 7 หลายเดือนก่อน

    Why do you create a new token for user in Login view if it hasnt been created before? Does it expires?

  • @lucassilverio8923
    @lucassilverio8923 4 หลายเดือนก่อน

    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.

  • @user-zf8ew2bh3j
    @user-zf8ew2bh3j 8 หลายเดือนก่อน

    What about the logout feature to log a user out?

  • @appaloosa_
    @appaloosa_ 8 หลายเดือนก่อน

    yes !!

  • @agboebuka4527
    @agboebuka4527 4 หลายเดือนก่อน

    Please what vscode extension help you send requests easily like that

  • @omegaroyal
    @omegaroyal 4 หลายเดือนก่อน

    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?

  • @anggeldwi8459
    @anggeldwi8459 หลายเดือนก่อน

    what is difference path and re_path?

  • @australianman8566
    @australianman8566 11 หลายเดือนก่อน

    what's the extension he's using on the right side of the screen to test the endpoints?

    • @australianman8566
      @australianman8566 11 หลายเดือนก่อน +1

      nvm he mentions it at 13:30. It's called ** drumroll **
      REST Client.

  • @rec-trick
    @rec-trick 3 หลายเดือนก่อน

    please videos for django ninja ecommerce

  • @gleysonwener2436
    @gleysonwener2436 7 หลายเดือนก่อน

    Top

  • @alexzhang9318
    @alexzhang9318 5 หลายเดือนก่อน

    how to support token expiration?

  • @badralwattar5799
    @badralwattar5799 6 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

      Did you mean:
      if serializer.is_valid():
      user = serializer.save()
      user.set_password(serializer.validated_data.get("password"))
      user.save()

  • @boulbirkhalilelrahman3446
    @boulbirkhalilelrahman3446 11 หลายเดือนก่อน

    Token doesnt have objects problem i get it

  • @sreedharteegala455
    @sreedharteegala455 7 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

      I have the same problem, did you find a way to solve it?

    • @sreedharteegala455
      @sreedharteegala455 4 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

      @@sreedharteegala455 Thank, buddy. I just tried it, and it was very helpful to me.

  • @yashoswal1797
    @yashoswal1797 11 หลายเดือนก่อน

    Is this Secure as JWT?

  • @snarf45
    @snarf45 3 หลายเดือนก่อน

    is this jwt?

  • @GinesLA
    @GinesLA 10 หลายเดือนก่อน

    logout!!!

  • @JJ_Seno
    @JJ_Seno 19 วันที่ผ่านมา

    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

  • @xjpfxei
    @xjpfxei 10 หลายเดือนก่อน

    "from .serializers .. " - doesn't work :/

  • @duwunaung7812
    @duwunaung7812 2 หลายเดือนก่อน

    Lovely 🎉