How Does JWT Authentication Work? (JSON Web Token) | Tokens vs Sessions

Ғылым және технология

In this video you'll learn about how JWT Authentication works, and how token authentication differs from sessions.
Contact Me: onelightwebdev@gmail.com
Github: github.com/nikitapryymak
Support Me: www.paypal.com/paypalme/nikit...
#jwt #jsonwebtoken #jwtauth

Пікірлер: 25

  • @sydneyidundun9187
    @sydneyidundun9187 Жыл бұрын

    Amazing content bro, keep at it already a fan and this is the first video I’ve watched.

  • @tompryymak9469
    @tompryymak9469 Жыл бұрын

    Great job! So helpful.

  • @biokode
    @biokode9 күн бұрын

    I'm deep-diving into JWT to learn it completely. Started watching a lot of videos on it, and this one is VERY good! Need to play it on loop for some time I bet

  • @1c72
    @1c72 Жыл бұрын

    Absolutely wonderful clarity and quality ❤️

  • @nikita-dev

    @nikita-dev

    Жыл бұрын

    thank you!

  • @SureshS-fv5co
    @SureshS-fv5co3 ай бұрын

    Very concise explanation of JWT tokens, Thanks!

  • @priyasivakumar3607
    @priyasivakumar3607 Жыл бұрын

    It’s Helpful. Thanks

  • @imadhamdiazghough9015
    @imadhamdiazghough90155 ай бұрын

    best explanation on yt, keept the good work my friend

  • @hex9219
    @hex9219 Жыл бұрын

    that's cool, it all make sense right now. thanks man

  • @deanelie7775
    @deanelie77754 ай бұрын

    Such a great explanation! thank you so much.

  • @pulserudeus7968
    @pulserudeus796828 күн бұрын

    awesome! this explanation is the best out there! thanks man! instant subscriber here 🔥

  • @evee4148
    @evee4148 Жыл бұрын

    Osm man keep doing like this....

  • @kirankumarrudraraju2429
    @kirankumarrudraraju2429Ай бұрын

    Excellent explanation and very easy to understand..thank you

  • @Parhoom
    @ParhoomАй бұрын

    Excellent explanation. thank you!

  • @devidas90
    @devidas902 ай бұрын

    Nicely explained dude, keep it up 👍

  • @asdfghjkl5418
    @asdfghjkl5418 Жыл бұрын

    Perfect.

  • @HossamQandeel
    @HossamQandeelАй бұрын

    Amazing ❤️🇪🇬

  • @TheMudioc
    @TheMudioc Жыл бұрын

    Hello ! Thank you for the refreshers ! Great video One question: what do you mean by creating a whitelist for refresh token ? If you use RT rotation, what's whitelisting adding to it ?

  • @nikita-dev

    @nikita-dev

    Жыл бұрын

    A whitelist would be an alternative to RT rotation-- you wouldn't use both

  • @momobear66
    @momobear668 ай бұрын

    Can I use personal access token(PAT) as refresh token?

  • @user-tp4fj2kf3p
    @user-tp4fj2kf3p7 ай бұрын

    you mention that it validation is done using private-key. That seems odd; generally we should be able to verify the signature using the public key, can you please clarify?

  • @nikita-dev

    @nikita-dev

    4 ай бұрын

    There are various hashing algorithms that use different approaches to signing and verifying tokens. Some use just 1 private key (HS256), and some use both a public key and a private key (RS256). It just depends on the algorithm

  • @mr.random8447
    @mr.random8447 Жыл бұрын

    Why not store JWT in secure httpOnly cookie instead, to prevent XSS on local storage?

  • @nikita-dev

    @nikita-dev

    Жыл бұрын

    that works as well 👍

  • @emekarr
    @emekarr Жыл бұрын

    I don’t think JWT authentication can work effectively without making some sort of db call with every request. For example to know which tokens have been invalidated when the user signs out

Келесі