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

2024 ж. 20 Мам.
1 042 285 Рет қаралды

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

Пікірлер
  • Such a beautiful explanation. It is more like a movie rather than a tutorial )

    @alexeykurbatov6195@alexeykurbatov61954 жыл бұрын
    • Agreed, this video should be shown to teach how to explain things.

      @ArtonnX@ArtonnX3 жыл бұрын
    • true

      @CodeSbyAniz@CodeSbyAniz3 жыл бұрын
    • @Raffaele Spieziaagreed

      @vishnuvamshi2927@vishnuvamshi29273 жыл бұрын
    • The guy is an education genius!

      @vipconstrictors1798@vipconstrictors17982 жыл бұрын
    • kzhead.info/sun/m6mglK2MbnN7mZs/bejne.html

      @CodeVolcano@CodeVolcano2 жыл бұрын
  • The analogy of session ID to ticket number makes the whole concept more understandable 👍.

    @ruthwaithera5457@ruthwaithera54574 жыл бұрын
    • 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

      @samueltunde4210@samueltunde42103 жыл бұрын
    • kzhead.info/sun/m6mglK2MbnN7mZs/bejne.html

      @CodeVolcano@CodeVolcano2 жыл бұрын
  • No one can leave this video without giving thanks for your effort , bare min we can do . .is to appreciate some one hard work

    @techproductowner@techproductowner3 жыл бұрын
  • 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 !

    @RanjuRao@RanjuRao2 жыл бұрын
    • Yes Ranju 100% true

      @mvs69@mvs69 Жыл бұрын
    • completely agree, it was very well explained.

      @lea3225@lea32257 ай бұрын
  • 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.

    @imranonthenet@imranonthenet4 жыл бұрын
  • Every video I watch, I always find each video raise the bar. The kind of explanation/presentation along with different example is absolutely unparalleled.

    @debadattasahoo8257@debadattasahoo82573 жыл бұрын
  • 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.

    @fadygamilmahrousmasoud5863@fadygamilmahrousmasoud58632 жыл бұрын
  • 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.

    @chetansharma5514@chetansharma55143 жыл бұрын
  • Your teaching can make anybody learn anything with ease. Great Teacher!!Thanks a lot for the useful video Sir.

    @KiaraLiam@KiaraLiam4 жыл бұрын
  • 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.

    @ron6107@ron61073 жыл бұрын
  • 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!!

    @chetankumar7991@chetankumar79914 жыл бұрын
    • Yes Excellent Explanation, it helped me on cracking my interview

      @DrunkenEngineer@DrunkenEngineer4 жыл бұрын
    • kzhead.info/sun/m6mglK2MbnN7mZs/bejne.html

      @CodeVolcano@CodeVolcano2 жыл бұрын
  • please never stop teaching !! you're a natural, and so easy to understand.

    @cassandraz3035@cassandraz30353 жыл бұрын
  • 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.

    @michaeledwardharris@michaeledwardharris2 жыл бұрын
  • 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.

    @gambarimas@gambarimas3 жыл бұрын
  • 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:)

    @hansikarajput9157@hansikarajput91573 жыл бұрын
  • Quite frankly one of the best introductory explanations of JWT on KZhead. Understood everything in the first go.

    @amoghskulkarni@amoghskulkarni4 жыл бұрын
  • javabrains is the best teacher on KZhead hands down. No other Chanel compares. No other college professor comes even close.

    @omurduneto@omurduneto Жыл бұрын
  • 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.

    @rajnesingh123@rajnesingh1234 жыл бұрын
  • I love how illustrative you are when explaining these things. Its one of the main reasons why I enjoy watching your tutorials. Nice one.

    @thomasmunguya2207@thomasmunguya22072 жыл бұрын
  • wow.. that examples does everything to make it a perfect tut on the subject. thank you

    @RameshP-ds4xt@RameshP-ds4xt4 жыл бұрын
  • Who would press dislike on this video? Such a clear and concise explanation on technology is a rare thing on youtube.

    @gurunathsugavanam887@gurunathsugavanam8873 жыл бұрын
  • Aaah! How are you such a smooth educator? Bro, you’re amazing! ✨😭👏🏽

    @ozzyfromspace@ozzyfromspace3 жыл бұрын
  • This guy has a wonderful way of explaining things. That's a rare gift.

    @WimOmbelets@WimOmbelets2 жыл бұрын
  • Sir, There is no way the Tech community can thank you for your great videos/training materials. respect

    @ashkanizadpanah9761@ashkanizadpanah97613 жыл бұрын
  • 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!

    @SebastianTysler@SebastianTysler3 жыл бұрын
  • 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.

    @bufordmaddogtannen@bufordmaddogtannen4 жыл бұрын
  • 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 !!

    @ulviugur3605@ulviugur36052 жыл бұрын
  • 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

    @Ajith4u81@Ajith4u813 жыл бұрын
  • 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!

    @minefacex@minefacex3 жыл бұрын
  • The analogy game in this video is ON POINT! Thank you so much for making this video!

    @kidelliott7122@kidelliott71223 жыл бұрын
  • Simply brilliant way of explaining concepts, never have i seen such a smooth flow, lots to learn from this master!

    @Mci146@Mci1462 жыл бұрын
  • 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.

    @jameslew7269@jameslew72692 жыл бұрын
  • Hands down. Great turorial. Simple to understand. Hard to forget what you learn here.

    @amar6323@amar63234 жыл бұрын
  • Theese are the only video where someone greatly and clearly explains jwt and oauth. Thank you for your awesome job.

    @francescopasin1928@francescopasin19283 жыл бұрын
  • 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

    @AswathNarayanan92@AswathNarayanan924 жыл бұрын
  • You're really great at explaining these concepts, thank you!

    @jared0801@jared08013 жыл бұрын
  • I paused the video just to comment how amazingly done this is. Damn.

    @AbhilashThulsidass@AbhilashThulsidass3 жыл бұрын
  • Simply wow. I understood that in one go. Thank you for such a simple, in-overwhelming definition and examples

    @BMEHARSHITGUPTA@BMEHARSHITGUPTA2 жыл бұрын
  • Thank you for existing Koushik!! :) You are the best!!

    @saravanprathi6956@saravanprathi69563 жыл бұрын
  • Today landed up #JavaBrains channel, saw back to back 4 videos. Amazing stuff and explanation. Simply amazing.

    @firelotusminecraftgaming9678@firelotusminecraftgaming96784 жыл бұрын
  • There's level to this thing called teaching. Thank you for the simple illustrations

    @kemekenneth@kemekenneth3 жыл бұрын
  • You are so experienced. Great teacher!

    @sakuragi1111@sakuragi11113 жыл бұрын
  • 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 !!!!!

    @privateaccount2607@privateaccount26078 ай бұрын
  • One of the best explinations I've had about JWT. Thanks Koushik!

    @bogdankyuchukov2124@bogdankyuchukov21244 жыл бұрын
    • 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

      @samueltunde4210@samueltunde42103 жыл бұрын
    • kzhead.info/sun/m6mglK2MbnN7mZs/bejne.html

      @CodeVolcano@CodeVolcano2 жыл бұрын
  • 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.

    @hafizmfadli@hafizmfadli3 жыл бұрын
  • The phone and customer service department analogies are very clarifying. Good Job

    @umothurmon6916@umothurmon6916 Жыл бұрын
  • 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.

    @DaveO0808@DaveO0808 Жыл бұрын
  • One of the best tutorial videos I have come across on youtube recently

    @a3chowdh@a3chowdh Жыл бұрын
  • 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.

    @sarithathota6384@sarithathota63844 жыл бұрын
    • Yes really awesome video.

      @DrunkenEngineer@DrunkenEngineer4 жыл бұрын
  • 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!

    @zhupdhk@zhupdhk2 жыл бұрын
  • This is one of the best explantions I have seen on this topic. Simple and clear!

    @2024prakash@2024prakash3 жыл бұрын
  • One of the best explanations out there on the internet. Thank you!

    @pinxtr@pinxtr4 жыл бұрын
    • 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❣️❣️✏️

      @samueltunde4210@samueltunde42103 жыл бұрын
  • 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!

    @bryanurizar@bryanurizar3 жыл бұрын
  • A great explanation ! Its amazing how you have simplified things and explained key pieces in JWT using real world scenarios !

    @sathiraguruge9269@sathiraguruge9269 Жыл бұрын
  • The analogies are simply brilliant. Even a two year old can understand this. A job well done!

    @JunaidParacha@JunaidParacha3 жыл бұрын
  • Thank you for your efforts I really appreciate it.

    @hamzaabid7424@hamzaabid74244 жыл бұрын
    • 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

      @samueltunde4210@samueltunde42103 жыл бұрын
  • Thank you for the wonderful explanation of the concept. The analogy makes all the difference between simple and complex!

    @soumyarao8199@soumyarao81992 жыл бұрын
  • 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

    @Kanishka6619@Kanishka66194 жыл бұрын
  • Nice work! Simple, crisp and clear.

    @akashkarve1991@akashkarve19914 жыл бұрын
  • 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

    @rohanmangale5990@rohanmangale59903 жыл бұрын
  • You're such a great teacher. I really enjoy your videos and ease in your explanations! Thank you so much and bless you.

    @aileenchan3741@aileenchan37412 жыл бұрын
  • Interesting! We’re currently implementing this in our team. Now I understand it better. Thanks!

    @sisisisi6@sisisisi64 жыл бұрын
    • 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❣️❣️✏️

      @samueltunde4210@samueltunde42103 жыл бұрын
  • This is a REALLY good explanation video. Thanks so much!

    @Overthought7@Overthought74 жыл бұрын
  • 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

    @rahulguharay401@rahulguharay4014 жыл бұрын
  • Such a beautiful explanation. It is more like a story rather than a tutorial

    @Ala.obeidat@Ala.obeidat4 жыл бұрын
  • This is by FAR the best and most intuitive explanation I've seen on JWT

    @RondellKB@RondellKB3 жыл бұрын
    • 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❣️❣️✏️

      @samueltunde4210@samueltunde42103 жыл бұрын
  • 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.

    @kumarsevenkumarseven3472@kumarsevenkumarseven34724 жыл бұрын
  • Excellent explanation. Thanks! JWT gets around the load balancer/session problem, especially where lots of microservices are used.

    @john-blair@john-blair3 жыл бұрын
  • The clearest explanation I have seen of JWT on web

    @juilipanse-kanade9583@juilipanse-kanade95832 жыл бұрын
  • Wow, the best JWT's explaination I have never seen, thank you so much Sir.

    @bacon37460@bacon374603 жыл бұрын
  • Such a good explanation!! Really saved my time helping me understanding those concepts and why it is like this

    @chongyulius@chongyulius3 жыл бұрын
  • Love it! Can't wait for the next vid to drop! :)

    @seanduignan294@seanduignan2944 жыл бұрын
  • I enjoyed your tutorial and the analogy that you use was awesome.

    @nitingupta1417@nitingupta14173 жыл бұрын
  • the great explanation plus the text version ... gosh thanks, bro !!

    @firecode6937@firecode69372 жыл бұрын
  • One of the best explanations out there on the internet. yes, It is more like a movie. thank you so much :)

    @AnopSinghRanawatperl@AnopSinghRanawatperl3 жыл бұрын
  • Just the right content, flow and elegantly presented. Thank you, Kaushik!

    @bg-mq5hz@bg-mq5hz Жыл бұрын
  • everytime i see your video, i think of sharing this knowledge to all my colleagues...thanks for the simplicity in explanation

    @Rajuvadarevu@Rajuvadarevu4 жыл бұрын
    • 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❣️❣️✏️

      @samueltunde4210@samueltunde42103 жыл бұрын
  • Its just awesome!! The way u explained is just fab!!! Thanks sooo much for the videos you are making!

    @madhun7073@madhun70734 жыл бұрын
  • Bravo! I should have found your channel 100 years ago!

    @yifanyang6400@yifanyang64004 жыл бұрын
  • I just love the examples given to explain the use case in every tutorial. It is awesome. Thank you @Java Brains

    @PrabhatKumarJ@PrabhatKumarJ6 ай бұрын
  • Such a clear conceptual description, thank you

    @PhilCaisley@PhilCaisley Жыл бұрын
  • one of the best explanation! please write a book soon

    @bharath2103@bharath21034 жыл бұрын
  • Best explanation I've seen so far!

    @junaidshaikh1177@junaidshaikh11774 жыл бұрын
  • Amazing explanation! Thank you! I knew these thing but your analogies are excellent.

    @johnsnow2810@johnsnow28103 жыл бұрын
  • this is freaking gold right here, he cleared all my doubts in just 15 min, love you bro ❤

    @digvijayyamagekar4300@digvijayyamagekar43002 жыл бұрын
  • Your Explanation & Example is TOO GOOD & Out of this World

    @AnantaAkash.Podder@AnantaAkash.Podder9 ай бұрын
  • Such a great explained video, thank you mate!

    @felipevillarroel6259@felipevillarroel62593 жыл бұрын
  • Your spring security videos are awesome. Thanks for clearing our concepts

    @mohitsuryawanshi7347@mohitsuryawanshi7347 Жыл бұрын
  • Explaining something complex with complex words can be done by anybody, but the finest art is to explain something complex with simple words. that is what you achieved brillantly With it I understood what I was doing with JWT for the google apis auth definitely thank you for this video.

    @pierrel.3937@pierrel.39372 жыл бұрын
  • Wow..!! Your way of explaining things with analogies is awesome.. Thank You..

    @monishkamble9066@monishkamble90664 жыл бұрын
  • Brilliant! Thank you! Your explanation is the clearest and well told.

    @alisabugi@alisabugi4 жыл бұрын
    • 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❣️❣️✏️

      @samueltunde4210@samueltunde42103 жыл бұрын
  • Brilliantly explained. Thank you.

    @Hoobee26@Hoobee264 жыл бұрын
  • Thanks for this..was waiting for it.

    @gufrannazir7481@gufrannazir74814 жыл бұрын
  • This is awesome! So well explained. Thank you!

    @frankkolarek843@frankkolarek8433 жыл бұрын
  • 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❤

    @bhuvanchandmaddi800@bhuvanchandmaddi800 Жыл бұрын
  • It really helped me to understand the concept. Thank you.

    @sumankalyanghosh4838@sumankalyanghosh48384 жыл бұрын
  • awesome video👍. I love the use of analogies to give a better understanding of what JWT is and how it works.

    @amanimavu810@amanimavu8102 жыл бұрын
  • As a programming amateur, this explanation is so good.

    @ryanjosephlock@ryanjosephlock2 жыл бұрын
  • You are the best teacher I have ever seen...Smooth and beautiful explanation

    @scorpp149@scorpp1493 жыл бұрын
  • This tutorial is amazing. So well explained. Thank you for taking the time to make it!!

    @vickiclarke1760@vickiclarke176011 ай бұрын
KZhead