Register and login a user with JWT token

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 41

  • @thefourhourtalk
    @thefourhourtalk 3 месяца назад

    best best best explanation on the topic its 2:30 am in the midnight and still getting everything you're teaching

  • @chandankumar-ul5to
    @chandankumar-ul5to Год назад +5

    Ctrl + Tab - move forward in browser @1:39
    Ctrl + Sh + Tab - Move Backward
    a small contribution in this video 😄

    • @HiteshCodeLab
      @HiteshCodeLab  Год назад +1

      Thanks, need to drill it in muscle memory

  • @pixiedev
    @pixiedev 2 года назад +6

    I don't use cookie-parser I use just a method of 5-6 of code which provided by django docs. And it's sufficient 😅.

    • @GoutamReddydazz
      @GoutamReddydazz 2 года назад

      How do you handle security ?then ? what if someone stoles your token ?

    • @pixiedev
      @pixiedev 2 года назад

      @@GoutamReddydazz it is in cookie

    • @pixiedev
      @pixiedev 2 года назад +1

      @@GoutamReddydazz encode it with base64 or SHA256

    • @GoutamReddydazz
      @GoutamReddydazz 2 года назад

      @@pixiedev so you are saying by doing those we can secure application from CSRF

  • @Newone-io6og
    @Newone-io6og Месяц назад

    I dont know why but where the token is stored is not much clear, and if we store the token in authorization header then do we store when user visits our website??

  • @SRIKANTH-tt6em
    @SRIKANTH-tt6em 3 месяца назад +1

    USE Ctrl + Tab to Switch to a Tab
    USE Ctrl + Shift + Tab to Switch back to the Tab Sir ...

  • @riya1703
    @riya1703 11 месяцев назад +1

    Great explanation... I really love to learn from your videos... Sir can you please make a content on Nestjs😊

  • @Murrsh1d
    @Murrsh1d Месяц назад

    hitesh where is your seccond part video

  • @anas7175
    @anas7175 2 года назад +2

    I am facing one problem the cookie is stored if I make request using postman but in browser it's not getting stored in cookies

  • @moonstone_motivation
    @moonstone_motivation 2 года назад +2

    Sir, completed HTML CSS, JAVASCRIPT, REACTJS,MERN STACK COURSE all by you but as I'm a fresher and don't have a btech degree,how do i find a job? Cause most ppl won't give a chance to a non btech fresher. So any tips on what I should do next and how do i get my first job and gain experience ?

    • @sharcodes
      @sharcodes 9 месяцев назад

      I hope you must have got by now.
      If not create some good project which solved real life problem and bring some user to use that...

  • @aarushyadav8709
    @aarushyadav8709 3 месяца назад

    i dont think anyone can explain better than this

  • @chinmaykhairnar6750
    @chinmaykhairnar6750 5 месяцев назад

    Pls , do more videos on this sir
    some how difficult to understand JWT

  • @ruhulmirza6197
    @ruhulmirza6197 10 месяцев назад

    Can I take data from my React form into my personal gmail id without using any librariies like email.js elastic email etc.

  • @anubhavseet004
    @anubhavseet004 6 месяцев назад +1

    Sir again iam here to learn authentication

  • @Overlord_Ainz348
    @Overlord_Ainz348 11 месяцев назад +1

    Sir, can't we just use passport for this

  • @chinmaykhairnar6750
    @chinmaykhairnar6750 5 месяцев назад

    Ekdam easily understand sir ...

  • @prakharsinha4145
    @prakharsinha4145 Год назад +1

    have a doubt..... does user.token=token won't store token into the DB ?

  • @milindalt
    @milindalt 2 года назад +1

    here's the shortcut : (ctrl + tab) to switch tabs

  • @rajkishan3690
    @rajkishan3690 2 года назад

    ctrl +tab - move to forward tab.
    ctrl+shft+tab - move to backward tab.

  • @parthanarra7147
    @parthanarra7147 2 года назад +1

    Thankyou 🙏, Great explanation

  • @najmulhasan5997
    @najmulhasan5997 11 месяцев назад

    where is source code?

  • @Nitin.0202
    @Nitin.0202 Год назад

    Best video every I have seen 😊

  • @debnath0702
    @debnath0702 Месяц назад

    Thanks

  • @sandeep_khariwal8137
    @sandeep_khariwal8137 Год назад

    is it important to create jwt token both time while we are registering and login? is this create different token both time ?

    • @rishirathore2373
      @rishirathore2373 Год назад

      yes! it create or overwrite the new one if you save the user.token = jwt made while log in

  • @rvuyyuru
    @rvuyyuru 2 года назад +3

    Use argon2 which is better than bcryptjs for modern world

  • @gauravrokade8106
    @gauravrokade8106 2 года назад +1

    Thank you sir ❤️

  • @hichemchouadria4134
    @hichemchouadria4134 2 года назад

    Excellent👍 thank you

  • @cartoonkid5584
    @cartoonkid5584 11 месяцев назад

    chai and code

  • @mohammadmalek5042
    @mohammadmalek5042 Год назад

    thanks

  • @good114
    @good114 9 месяцев назад

    🙏🙏❤❤

  • @harshmore8869
    @harshmore8869 Год назад

    😅😂

  • @Nitin.0202
    @Nitin.0202 Год назад

    ✅👍🏻❤