What is JWT? JSON Web Tokens Explained (Java Brains)

Поделиться
HTML-код
  • Опубликовано: 13 май 2024
  • Text version: / jv4doduxs8
    JSON Web tokens or JWT is a very popular way to do user authorization in web apps today. JWT has also become very popular in the context of micro services and some of the other developments in the way we build web applications today. In this tutorial, you’ll learn what JWT is and how exactly it’s used, specifically in the context of securing web applications.
    Java Brains website: javabrains.io
    #JavaBrains #BrainBytes #WhatIs #JWT #Java #Tutorial #Concept

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

  • @alexeykurbatov6195
    @alexeykurbatov6195 4 года назад +800

    Such a beautiful explanation. It is more like a movie rather than a tutorial )

    • @ArtonnX
      @ArtonnX 3 года назад +12

      Agreed, this video should be shown to teach how to explain things.

    • @CodeSbyAniz
      @CodeSbyAniz 3 года назад

      true

    • @vishnuvamshi2927
      @vishnuvamshi2927 3 года назад

      @Raffaele Spieziaagreed

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

      The guy is an education genius!

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

      ruclips.net/video/hEgdIT7AEfc/видео.html

  • @ruthwaithera5457
    @ruthwaithera5457 4 года назад +310

    The analogy of session ID to ticket number makes the whole concept more understandable 👍.

    • @samueltunde4210
      @samueltunde4210 3 года назад +3

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago

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

      ruclips.net/video/hEgdIT7AEfc/видео.html

  • @RanjuRao
    @RanjuRao 2 года назад +48

    Guys like you should pursue as real time professors in colleges ! Its not the technology that makes it amaze ,its how you deliver the idea :)Appreciate the hard work in putting good stuff for free !

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

      Yes Ranju 100% true

    • @lea3225
      @lea3225 6 месяцев назад

      completely agree, it was very well explained.

  • @techproductowner
    @techproductowner 3 года назад +29

    No one can leave this video without giving thanks for your effort , bare min we can do . .is to appreciate some one hard work

  • @imranonthenet
    @imranonthenet 4 года назад +42

    I've seen your full video series on Java Spring Boot, you explain everything so well that even complex topics look simple, I really love your style and way of teaching, you make everything sound interesting, you explain the right amount of theory and practical. Please keep it up. I'm surprised why you have only 343K subscribers, you should have much much more.

  • @fadygamilmahrousmasoud5863
    @fadygamilmahrousmasoud5863 2 года назад +16

    i didn't get bored through the whole tutorial, its amazing how you can simplify things with real world examples and mention some technical problems like single point of failure and when it might happen, thank you man you are amazing.

  • @chetansharma5514
    @chetansharma5514 3 года назад +13

    Kaushik, you are just mind boggling with explaining things. I must say there are loads of intelligent people in the world but not those many can explain and teach things as simply and as elaborately as they understand them. Kudos to you for being so informative and classy while explaining each and every thing. Have been following your channel since 2013 and still one of the favorite to understand anything new in web world.

  • @debadattasahoo8257
    @debadattasahoo8257 3 года назад +4

    Every video I watch, I always find each video raise the bar. The kind of explanation/presentation along with different example is absolutely unparalleled.

  • @ron6107
    @ron6107 3 года назад +3

    You are just getting more awesome by the day. I am one of those guys who watched your first SOAP videos and it brings me great pleasure to see you making these awesome contributions. Keep up the awesomeness.

  • @KiaraLiam
    @KiaraLiam 4 года назад +13

    Your teaching can make anybody learn anything with ease. Great Teacher!!Thanks a lot for the useful video Sir.

  • @gambarimas
    @gambarimas 3 года назад

    Koushik, your videos (notice the 's') are by far the best I have found online on Java web development world. You are my number one reference. You got both, the technical knowledge and the skill to teach them very nicely, always explaining the reasoning behind everything in a way most of the people cannot. Thank you very much.

  • @amoghskulkarni
    @amoghskulkarni 4 года назад

    Quite frankly one of the best introductory explanations of JWT on RUclips. Understood everything in the first go.

  • @michaeledwardharris
    @michaeledwardharris 2 года назад +8

    Wow, that was very nice! I really enjoy the relaxed nature of your presentations. Your pacing is just excellent. Your videos are not only informative, but even *relaxing* to watch. I'm a lead software engineer with tons of experience, and I learn something every time I watch your videos. I can't thank you enough.

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

    javabrains is the best teacher on RUclips hands down. No other Chanel compares. No other college professor comes even close.

  • @chetankumar7991
    @chetankumar7991 4 года назад +40

    Dear Sir,
    I have been following you since 2014, you are an amazing teacher and the fact that you do this for free, salute to you!!

    • @DrunkenEngineer
      @DrunkenEngineer 4 года назад

      Yes Excellent Explanation, it helped me on cracking my interview

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

      ruclips.net/video/hEgdIT7AEfc/видео.html

  • @hansikarajput9157
    @hansikarajput9157 3 года назад +3

    I have never heard a more beautiful explanation before. The relation to examples make it so easy to understand. Thanks a lot!! This is the first time i m posting a comment for a tutorial:)

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

    I love how illustrative you are when explaining these things. Its one of the main reasons why I enjoy watching your tutorials. Nice one.

  • @rajnesingh123
    @rajnesingh123 4 года назад

    everytime i see your video , am dazzled with the simplicity of your explanation right from ground up. It's just sticks to the brain. thank you Kaushik.

  • @cassandraz3035
    @cassandraz3035 3 года назад +3

    please never stop teaching !! you're a natural, and so easy to understand.

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

    A lot of people talk about the technicality of JWTs and get lost in it. The "Why" of it makes it much more understandable. Good job !!

  • @ashkanizadpanah9761
    @ashkanizadpanah9761 3 года назад +1

    Sir, There is no way the Tech community can thank you for your great videos/training materials. respect

  • @ozzyfromspace
    @ozzyfromspace 3 года назад +3

    Aaah! How are you such a smooth educator? Bro, you’re amazing! ✨😭👏🏽

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

    I love those explanations, very on point! But because of those "cliff-hangers" at the end of each video I watched like 4 videos in the row! There always seems to be something more to learn that is being explained "in the next video". Thanks for the tutorials! Very high quality of content!

  • @gurunathsugavanam887
    @gurunathsugavanam887 3 года назад +1

    Who would press dislike on this video? Such a clear and concise explanation on technology is a rare thing on youtube.

  • @kidelliott7122
    @kidelliott7122 3 года назад +1

    The analogy game in this video is ON POINT! Thank you so much for making this video!

  • @francescopasin1928
    @francescopasin1928 3 года назад

    Theese are the only video where someone greatly and clearly explains jwt and oauth. Thank you for your awesome job.

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

    "Dude! we just talked! " is hilarious. You make learning fun.

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

    After watching 20-30 videos thinking I have the concept and it's solid in my head, I suddenly stumbled upon this video and I was curious about JWT, your explanations are the best I've seen out of any video I've watched so far, both on Session ID tokens and JWT.

  • @Ajith4u81
    @Ajith4u81 3 года назад

    I have searched several places to understand the exact difference. This is the best video tutorial i have ever seen till date. Hats off to the media.
    Also all the other informations shared by this channel is worth watching and is unmatched

  • @amar6323
    @amar6323 4 года назад

    Hands down. Great turorial. Simple to understand. Hard to forget what you learn here.

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

    This guy has a wonderful way of explaining things. That's a rare gift.

  • @bogdankyuchukov2124
    @bogdankyuchukov2124 4 года назад +29

    One of the best explinations I've had about JWT. Thanks Koushik!

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago

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

      ruclips.net/video/hEgdIT7AEfc/видео.html

  • @sarithathota6384
    @sarithathota6384 4 года назад +12

    I was searching for 'how jwt works' quite some time, and I went through many sites but I didn't fully understood until I found this. Thanks Koushik for great efforts and the way you explain with your drawings is awesome.

  • @RameshP-ds4xt
    @RameshP-ds4xt 4 года назад +14

    wow.. that examples does everything to make it a perfect tut on the subject. thank you

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

    Simply brilliant way of explaining concepts, never have i seen such a smooth flow, lots to learn from this master!

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

    One of the best tutorial videos I have come across on youtube recently

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

    Holy.. great explanation! I did not expect to understand the JWT concept with just a single short clip! I will just continue to watch all his videos on JWT.

  • @minefacex
    @minefacex 3 года назад

    Amazing way of explaining this all. It was excruciating trying to understand it from the RFC specification, but you showed it in a very intuitive way. You have my thanks!

  • @RondellKB
    @RondellKB 3 года назад

    This is by FAR the best and most intuitive explanation I've seen on JWT

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

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

    The phone and customer service department analogies are very clarifying. Good Job

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

    Simply wow. I understood that in one go. Thank you for such a simple, in-overwhelming definition and examples

  • @kemekenneth
    @kemekenneth 3 года назад

    There's level to this thing called teaching. Thank you for the simple illustrations

  • @AbhilashThulsidass
    @AbhilashThulsidass 3 года назад +1

    I paused the video just to comment how amazingly done this is. Damn.

  • @pinxtr
    @pinxtr 4 года назад +2

    One of the best explanations out there on the internet. Thank you!

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

  • @saravanprathi6956
    @saravanprathi6956 3 года назад

    Thank you for existing Koushik!! :) You are the best!!

  • @firelotusminecraftgaming9678
    @firelotusminecraftgaming9678 4 года назад

    Today landed up #JavaBrains channel, saw back to back 4 videos. Amazing stuff and explanation. Simply amazing.

  • @bufordmaddogtannen
    @bufordmaddogtannen 4 года назад +2

    Thanks, this is exactly the video I was looking for. On a side note load balanced applications can still work with cookies only, by enabling session persistence on the load balancer.

  • @jared0801
    @jared0801 3 года назад +1

    You're really great at explaining these concepts, thank you!

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

    You are so experienced. Great teacher!

  • @Rajuvadarevu
    @Rajuvadarevu 4 года назад +3

    everytime i see your video, i think of sharing this knowledge to all my colleagues...thanks for the simplicity in explanation

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

  • @AswathNarayanan92
    @AswathNarayanan92 4 года назад

    Dude, thank u so much for this vid. not all of us working in software development are computer scientists. I for one am a mobile app developer and do not even have much experience in middleware or backend and I did Civil Engineering for my major. This makes jwt so much more clearer

  • @Ala.obeidat
    @Ala.obeidat 3 года назад

    Such a beautiful explanation. It is more like a story rather than a tutorial

  • @privateaccount2607
    @privateaccount2607 8 месяцев назад

    The most awesome explanation I have ever see. I have read a bunch of articles , videos about the same but not even a single resource was comparable to way of teaching of this guys. Hats off to you !!!!!

  • @yifanyang6400
    @yifanyang6400 4 года назад

    Bravo! I should have found your channel 100 years ago!

  • @2024prakash
    @2024prakash 3 года назад

    This is one of the best explantions I have seen on this topic. Simple and clear!

  • @bg-mq5hz
    @bg-mq5hz Год назад

    Just the right content, flow and elegantly presented. Thank you, Kaushik!

  • @Min.Scepter
    @Min.Scepter 2 года назад

    I normally won't watch a tutorial till the end. But this tutorial pinned my ass on my chair and got my complete attention. You the best Java Brain

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

    A great explanation ! Its amazing how you have simplified things and explained key pieces in JWT using real world scenarios !

  • @Kanishka6619
    @Kanishka6619 4 года назад

    Hi Koushik im from .Net background and I was searching for many websites to understand the concept of JWT, but none of them have a very clear explanation like this. I'm really loving the way you explain each and every concept with a nice pictorial representation.Keep posting lot more videos which will be very helpful for many of them like me. Also please post vedios related to .Net if you have that would really be great

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

    the great explanation plus the text version ... gosh
    thanks, bro !!

  • @hamzaabid7424
    @hamzaabid7424 4 года назад +40

    Thank you for your efforts I really appreciate it.

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago

  • @akashkarve1991
    @akashkarve1991 4 года назад

    Nice work! Simple, crisp and clear.

  • @scorpp149
    @scorpp149 3 года назад

    You are the best teacher I have ever seen...Smooth and beautiful explanation

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

    Thank you so much for this video! In no way can I describe to you how helpful it has been to my understanding. Keep up the great content!

  • @juilipanse-kanade9583
    @juilipanse-kanade9583 2 года назад

    The clearest explanation I have seen of JWT on web

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

    Thank you for the wonderful explanation of the concept. The analogy makes all the difference between simple and complex!

  • @sisisisi6
    @sisisisi6 4 года назад +3

    Interesting! We’re currently implementing this in our team. Now I understand it better. Thanks!

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

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

    You're such a great teacher. I really enjoy your videos and ease in your explanations! Thank you so much and bless you.

  • @rahulguharay401
    @rahulguharay401 4 года назад

    This is a superb video .The Load balancer example was so helpful in terms of scalability and why we would want to do this .Thank you .Moving over to JWT structure and subscribing your channel

  • @JunaidParacha
    @JunaidParacha 3 года назад

    The analogies are simply brilliant. Even a two year old can understand this. A job well done!

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

    Your spring security videos are awesome. Thanks for clearing our concepts

  • @christophertatlonghari4366
    @christophertatlonghari4366 8 месяцев назад

    This is how software concepts should be explained! Perfect.

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

    this is freaking gold right here, he cleared all my doubts in just 15 min, love you bro ❤

  • @kumarsevenkumarseven3472
    @kumarsevenkumarseven3472 4 года назад +1

    Excellent man, not able to see you. Such a clear explanation , i don;t see any such clear cut videos so far on this topic. Keep Rocking and GOD BLESS. Any technology topic that i cannot understand , will watch your videos. Keep posting.

  • @chithiravelupothirajan9974
    @chithiravelupothirajan9974 2 месяца назад

    A Beautiful explanation, which I have never come across from any other youtube or social media. Thanks a lot!!

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

    One of the best explanations i have ever heard.Appreciate the work!!!!

  • @hafizmfadli
    @hafizmfadli 3 года назад

    After watch some tutorials i have not understand what difference bertween session and JWT, but after learn from your explanations, now i can figure out what they are, and have good understanding of how they are work.Thank you sir.

  • @SergDMK
    @SergDMK 4 года назад

    One of the BEST explanations!!! Easily understood what JWT is.

  • @jbaisden
    @jbaisden 3 года назад

    Kind of feel like I hit the google jackpot here. This was my first video on JWT and it explained things beautifully with clear, precise languages and helpful imagery. Thank you!

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

  • @AnantaAkash.Podder
    @AnantaAkash.Podder 9 месяцев назад

    Your Explanation & Example is TOO GOOD & Out of this World

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

    I am sure I won't find any better video on JWT tokens in internet. You mastered the art of teaching. Thank you man for the great work❤

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

    One of the best explanations i have ever seen...was confused about this..thank you... 🙏

  • @bacon37460
    @bacon37460 3 года назад

    Wow, the best JWT's explaination I have never seen, thank you so much Sir.

  • @alisabugi
    @alisabugi 4 года назад +1

    Brilliant! Thank you! Your explanation is the clearest and well told.

    • @samueltunde4210
      @samueltunde4210 3 года назад

      very hard working and skilled expert who invariably understand what a problem all about and takes the necessary massage to get it done
      □Thanks to Hackernile5 on IG I got disable to account active back aging you'll should give him a try and thanks me later
      □I'm from Florida
      Facebook logged me out leat week after I posted a picture didn't know why
      We'lli solved the problem after seeing a ton for good recommendations in the comment about Hackernile5 on IG
      He helped me to get my account back
      □Thanks to Hackernile5 on IG I woke up this morning to find my lost Facebook account password sent to my email after he hacked 3year ago❣️❣️✏️

  • @monishkamble9066
    @monishkamble9066 4 года назад

    Wow..!! Your way of explaining things with analogies is awesome.. Thank You..

  • @Overthought7
    @Overthought7 4 года назад +1

    This is a REALLY good explanation video. Thanks so much!

  • @rohanmangale5990
    @rohanmangale5990 3 года назад

    Such a beautiful and simplest way of explaining jwt. other videos on youtube directly jump on jwt but the way you explained first the session based Authorization and its drawback make things more clear why jwt is better that session based auth

  • @bryanurizar
    @bryanurizar 3 года назад +4

    Wow, this is probably the most amazing explanation I've ever heard. It just flowed so naturally while making entire sense. Thank you! You have a new sub!

  • @vassilimoskaljov7266
    @vassilimoskaljov7266 3 года назад

    Best JWT explanation!!! The only one needed tbh...

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

    Such a clear conceptual description, thank you

  • @junaidshaikh1177
    @junaidshaikh1177 4 года назад

    Best explanation I've seen so far!

  • @kamalahasanbalasubramanian3500

    What an explanation!! The best out there. You are an amazing teacher 👏👏

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

    watched many videos, yours was the most comprehensive and easy to understand,thank you so much.

  • @kks2105
    @kks2105 7 месяцев назад

    Hands down one of the best explanation .. Thank you..

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

    This is the best explanation among what I have come across! Thank you! 😊

  • @johnsnow2810
    @johnsnow2810 3 года назад

    Amazing explanation! Thank you!
    I knew these thing but your analogies are excellent.

  • @john-blair
    @john-blair 3 года назад

    Excellent explanation. Thanks! JWT gets around the load balancer/session problem, especially where lots of microservices are used.

  • @PrabhatKumarJ
    @PrabhatKumarJ 6 месяцев назад

    I just love the examples given to explain the use case in every tutorial. It is awesome. Thank you @Java Brains

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

    This tutorial is amazing. So well explained. Thank you for taking the time to make it!!

  • @Hoobee26
    @Hoobee26 4 года назад

    Brilliantly explained. Thank you.