What is the structure of a JWT - Java Brains

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

  • @5s4l1p1fcw
    @5s4l1p1fcw 5 ปีที่แล้ว +408

    1) Wake up. 2) Make a pot of coffee. 3). Binge watch Javabrains 😀. Thanks again Koushik!

    • @hattrickster33
      @hattrickster33 4 ปีที่แล้ว +19

      4. Profit

    • @blazkowicz666
      @blazkowicz666 3 ปีที่แล้ว +1

      It's crazy that I am doing the exact same thing rn

    • @cruzotto608
      @cruzotto608 3 ปีที่แล้ว +1

      i realize Im kind of off topic but do anyone know of a good website to stream new series online ?

    • @quinnkarson7251
      @quinnkarson7251 3 ปีที่แล้ว

      @Cruz Otto i watch on flixzone. You can find it on google =)

    • @cruzotto608
      @cruzotto608 3 ปีที่แล้ว

      @Quinn Karson Thanks, I went there and it seems to work :D Appreciate it !!

  • @andreizakovorotny4779
    @andreizakovorotny4779 5 ปีที่แล้ว +192

    An example of a perfect and meaningful explanation! That is a real gem, hard to find in the modern internet full of mediocre stuff.

    • @ujjalm007
      @ujjalm007 4 ปีที่แล้ว +6

      His tutorials are really good! Great content with so much clarity

    • @rsalwi
      @rsalwi 4 ปีที่แล้ว

      @Shandilya's Top 5 qqqqqqqqqqqqqqqqqqqqq+qqqqqqQqqqqqqqqqqqqqq+qqqqqqqqqqqqqqqq+qqqqqqqqqqqqqqq

    • @VivoY-nq5lm
      @VivoY-nq5lm 2 ปีที่แล้ว

      ur happy

  • @rohit250289
    @rohit250289 4 ปีที่แล้ว +40

    Probably the most underrated person on youtube ..He deserves many more subscribes for his top class content ...

  • @jukkahamalainen2454
    @jukkahamalainen2454 4 ปีที่แล้ว +47

    Wow! Watched the introduction to JWT and then this. Even though I knew most of the technical things behind JWT, I feel the explanations behind *why* we do these things gave me way better understanding about JWT's. I wish all the content in internet would be as clear and concise as these videos were. Thank you!

  • @AmitKumar-we8dm
    @AmitKumar-we8dm ปีที่แล้ว

    aap bahuton k liye aadarsh hain bade bhai... Dil se dhanyawaad 🙏

  • @AbhishekChanda
    @AbhishekChanda 5 ปีที่แล้ว +76

    I have been working with JWT for the past 2 years and initially it was confusing and it took me some time to understand. How I wish this video was there at that time.
    Looking forward to the OAuth and Okta implementation (i think you are heading towards that only).

    • @samueltunde4210
      @samueltunde4210 4 ปีที่แล้ว +2

      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❣️❣️✏️

  • @ra7878
    @ra7878 ปีที่แล้ว +2

    I routinely come back to review these videos as I'm working on different projects. Truly elegant and clear explanation of core concepts. You have a gift for educating!

  • @prafulsinghvit
    @prafulsinghvit 3 ปีที่แล้ว +1

    It's just "once in a blue moon" feeling when I wish I could like a video multiple times. Can't thank enough.

  • @gangambikahogtapur3254
    @gangambikahogtapur3254 3 ปีที่แล้ว +7

    Explained in a great way! Never imagined this concept to be so simple and interesting.

  • @rashmisingh2894
    @rashmisingh2894 4 ปีที่แล้ว +2

    Why do anybody wants to dislike this video??
    It's so amazingly explained!

    • @marioleon86
      @marioleon86 3 ปีที่แล้ว

      They tapped twice like inadvertently

  • @PramodKumar-hu7mt
    @PramodKumar-hu7mt 5 ปีที่แล้ว +3

    I started my career with your tutorials.. I'm a regular follower of your videos.. Continue the good work koushik sir.. Waiting for next video

  • @kunalsingh-yj7xs
    @kunalsingh-yj7xs 4 ปีที่แล้ว

    Man...you are a true GURU....I am following your tutorial since long......just leave Linkedin and start teaching full time :)

  • @munishthakur8018
    @munishthakur8018 3 ปีที่แล้ว

    So many guys explaining JWT out there. But all of them miss expalining about the signature and how it protects us from hackers. Thanks for the beautiful explanation.

  • @Trippykiyay
    @Trippykiyay 2 ปีที่แล้ว

    I can’t believe i just came across your channel. This is gold, thank you!

  • @shreeram_kulkarni
    @shreeram_kulkarni 2 ปีที่แล้ว +1

    As always great explantion Koushik !
    Watched this vid today, despite it being recomended quite frequently on my home page. I just wish I could have watched this video earlier.

  • @anushanuti5757
    @anushanuti5757 4 ปีที่แล้ว +1

    Thank you Koushik. I cannot imagine a day without watching Java Brains and learning something new . Cant thank you enough. God Bless

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

    I cannot help but leave a comment for the wonderful (and super helpful) java guide for newbie developers like me. Thank you!

  • @rajnishtiwari1227
    @rajnishtiwari1227 4 ปีที่แล้ว

    Kouhik bhai i am saying this honestly that my search regarding the topic ended after seeing this tutorial. Best Best Best.

  • @asawari520
    @asawari520 2 ปีที่แล้ว

    This is so addictive , I watch your videos just like a documentry or show on ott . you are an awesme guru , great narrator ,orator , animator , teacher , architect and yes the java programmer ! you just simplify this imaginary coding concepts!

  • @Mci146
    @Mci146 4 ปีที่แล้ว +11

    One of the best videos i have watched introducing a rather confusing concept and making it crystal clear, great work Koushik, thanks for sharing your knowledge!

  • @santoshdash7646
    @santoshdash7646 2 ปีที่แล้ว

    This tutorial makes me conceptually clear. Heads up to Java Brain.

  • @mtung05
    @mtung05 4 ปีที่แล้ว

    This is the best JWT explanation on the Internet!

  • @MuhammadAyaz-gp7xd
    @MuhammadAyaz-gp7xd 11 หลายเดือนก่อน

    Best Tutorial on Internet about JWT ❤

  • @abed83a
    @abed83a 2 ปีที่แล้ว

    One of the best, if not the very best explanation available in the youtube and I am watching such tutorials for some years. He understands it very clearly. That is why he could explain the stuff so easy to understand way. Great work!

  • @srivatsahg
    @srivatsahg 4 ปีที่แล้ว

    Who are these people who 'unlike' these gem of the videos. They should know how much time consuming it is for Koushik has to put to make this content available to everyone for free. If you don't like it, simply ignore it. Why press unlike? I dont understand at all. Insane !

  • @thinhle5765
    @thinhle5765 2 ปีที่แล้ว +1

    The 2 videos about JWT are so well structured and very clear. Thank you so much!

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

    This made JWTs very easy to understand. All explained from first principles! Amazing work @Java Brains

  • @adryelgainza1686
    @adryelgainza1686 2 ปีที่แล้ว

    Going down the JWT rabbit hole. Thanks for the great free videos man !!!

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

    I never comment on any video at all. But your way of explanation is too good. It made me comment on this video. Good work, thank you so much. I got exactly all the info I was looking for

  • @29kangka
    @29kangka 5 ปีที่แล้ว

    I am building an SSO... And this video series is a life saver

  • @muthuvijayan
    @muthuvijayan 5 ปีที่แล้ว +2

    Thanks for the nice explanation. Only thing i want to mention is to use a secure httponly cookie to store the token on the client and not local storage. As local storage data can be read by JS, it is vulnerable of XSS. Use httponly cookie instead.

  • @KeshariPiyush24
    @KeshariPiyush24 2 ปีที่แล้ว

    Your analogies are gem, please continue such noble work

  • @OmarNg7X
    @OmarNg7X 3 ปีที่แล้ว

    The first 2 questions are literally the questions I had in my mind for ages. If there's a hall of fame for tech videos, this and part I should be on it. Nice work!!

  • @kazishafin1
    @kazishafin1 4 ปีที่แล้ว +1

    wish you have healthy and long life and keep making tutorials for us, the way of your teaching is AWESOMEE....Love from Bangladesh.

  • @brunocardoso8277
    @brunocardoso8277 4 ปีที่แล้ว

    I watched this video, figured out and it makes possible to solve a problem easily. Thank you very much!! you're spreading knowlodge around the world! Greetings from Brazil!!

  • @BcomingHIM
    @BcomingHIM 3 ปีที่แล้ว

    thanks man. Really cleared the entire concept in half hour. Very nice explanation

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

    Very very very very clear explanation, i've been referring to so many tutorials like this, i think this is the fifth video in the line, This is the best & i don't need to refer any related videos any more. Thanks for saving my time. Keep the good work going....

  • @jayakandadai
    @jayakandadai 5 ปีที่แล้ว +5

    Awesome. So intuitive to understand your tutorials. Requesting you to do one on JWT Generation and Validation in conjunction with OAuth. Thanks in advance.

  • @cochi2221
    @cochi2221 5 ปีที่แล้ว +11

    Thank you so much.
    When this JWT tutorial finishes, can you upload an OAUTH tutorial? I always try to implement it but I never understand it.

  • @diego_elohim
    @diego_elohim 2 ปีที่แล้ว

    Best explanation ever about JWT

  • @StefanReich
    @StefanReich 5 ปีที่แล้ว +82

    The three parts of a JWT are the header, the payload and the sick nature

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha 5 ปีที่แล้ว +6

    I was using JWT for months now, But this is the first time I properly understand it. Thanks . Now I must go and implements safety measures in my app.
    Just a question, If Secure signature is linked to the content, and changing content changes that signature, In my current implementation, I have added expiry time ( 24hrs in unix number ) as part of the payload. Do I still need to implement a expired token bucket?

  • @denizo982
    @denizo982 3 ปีที่แล้ว

    Thank you! Best JWT Video on TH-cam. Will definitely come back for other content.

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

    Really brilliant explanation. Would it be possible to create a summary diagram that gives an overview of the concepts taught. This would help us to brush through the concepts taught. You make it sound so easy.. Kudos to you!!

  • @gdIndia199
    @gdIndia199 2 ปีที่แล้ว

    it's all time best video on JWT. Great. Thank you

  • @reduser77
    @reduser77 5 ปีที่แล้ว +1

    no wonder why this video has no dislikes , huge thanks sir

  • @chepaiytrath
    @chepaiytrath 4 ปีที่แล้ว +2

    From what I've gathered in the last videos, authorization is mainly validating if a logged-in user has access privileges to a certain endpoint once the user has been authenticated by the server(by any manner: JDBC/LDAP/JPA). In this video, it seems like JWT is only working towards authenticating rather than authorizing specific resources as you did by using antMatchers and ROLES in the previous videos. I hope the next video demonstrates authorization using JWT.

  • @davidlira8853
    @davidlira8853 3 ปีที่แล้ว

    These video series on OAuth has been super good. I love the analogies, the stick figures and basic diagrams, and did I mention analogies? Great job!

  • @madram2011
    @madram2011 2 ปีที่แล้ว

    Highly appreciate the way of instruction
    Thanks for the best explanation ❤️❤️

  • @yashzala6587
    @yashzala6587 3 ปีที่แล้ว

    Best Tutorial on the topic

  • @OmSriUdayaKumarGade
    @OmSriUdayaKumarGade 5 ปีที่แล้ว +3

    Thanks for helping the world. We are planning to implement JWT with OAuth for the REST services, your videos helps me in better understanding. Appreciate the service you are doing Kaushik. :)

  • @ivanriotogonon6382
    @ivanriotogonon6382 3 ปีที่แล้ว +1

    Very clear explanation! I love how you sequence your vids per topic in a way that is easy to follow. I got really stuck in one of my projects as I have to learn about JWT fast and your vids helped me understand it quickly. Thank you so much for this!

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

    A quality content on JWT. Thanks much sir.

  • @jyothisingaram5078
    @jyothisingaram5078 2 ปีที่แล้ว

    Wow what a explanation fallen in love with you for this …awesome man…excellent

  • @thefullmoonlight
    @thefullmoonlight 3 ปีที่แล้ว

    Excellent videos on JWT - the previous one and this one. This is really brilliant. It is indeed true that teaching is a different skill altogether.

  • @BryanRodriguez-sp2gq
    @BryanRodriguez-sp2gq 4 ปีที่แล้ว +1

    Best explanation found, thanks java brains!!

  • @colton2432
    @colton2432 4 ปีที่แล้ว +5

    How would you recommend maintaining a secret across multiple micro-services so that JWTs can be authorized?

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

    this is way beyond well presented content. Thank you alot. I am gonna go thru other videos too.

  • @mayankarora5824
    @mayankarora5824 3 ปีที่แล้ว

    Thanks a lot Koushik. The questions and answers part of thid video is what I liked fhr most. I was just trying to get the answers to these questions and this video just hit right on the spot.

  • @manishramesh5446
    @manishramesh5446 5 ปีที่แล้ว +1

    Your videos are gems. Thank you.
    Can you make a brief video on how to write documentation for web projects.

  • @rajeevg4683
    @rajeevg4683 5 ปีที่แล้ว +1

    As always, clear crisp and to the point.

  • @krishtheindian
    @krishtheindian 4 ปีที่แล้ว +1

    Just one word - Brilliant!

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

    Couldn't be more perfect. Kudos

  • @prashantshubham
    @prashantshubham 5 ปีที่แล้ว +4

    Please tell about best practices to secure JWT payload also e.g using JWE

  • @sharathchandrareddy8959
    @sharathchandrareddy8959 4 ปีที่แล้ว

    Simple and straight to the point....

  • @aishwaryadwani9365
    @aishwaryadwani9365 3 ปีที่แล้ว

    this content is priceless , thanks Kaushik , you are love ❤️

  • @iArpanMishra
    @iArpanMishra 3 ปีที่แล้ว +1

    Awesome!

  • @Ace-yt7eo
    @Ace-yt7eo ปีที่แล้ว

    This video has a complete explanation

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

    This is so helpful! Very simply nicely explained! Thank you

  • @joeporsche1767
    @joeporsche1767 4 ปีที่แล้ว

    You have very good explanation. It’s clear and easy to understand. Thank you.

  • @perschistence2651
    @perschistence2651 5 ปีที่แล้ว +25

    Could you set up an pay-pal please so we could freaking pay you for your genius tutorials?

    • @BalaKrishnan-mk6hq
      @BalaKrishnan-mk6hq 5 ปีที่แล้ว +3

      th-cam.com/video/1IY6vIdRG_0/w-d-xo.html

    • @perschistence2651
      @perschistence2651 5 ปีที่แล้ว +2

      @@BalaKrishnan-mk6hq Thank you, I am a member now!

    • @BalaKrishnan-mk6hq
      @BalaKrishnan-mk6hq 5 ปีที่แล้ว +3

      Java brains deserves our donation I will also join in this channel later on. I am glad you joined thanks Michael.

  • @thisalma
    @thisalma 4 ปีที่แล้ว +1

    Thank you very much! Your videos are very helpful and gave me the idea of JWT in an easy to understand simple way ❤️

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

    This is a beautiful explanation

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

    No words to describe the words yu put to taught us!!

  • @stephenwall9036
    @stephenwall9036 2 ปีที่แล้ว

    Now finally, I understand it!! Thanks for this. Great explanation.

  • @hartford1231
    @hartford1231 2 ปีที่แล้ว

    excellent and clear explanation. thank you.

  • @reymago23
    @reymago23 4 ปีที่แล้ว

    Fantastic explanation Koushik!

  • @splash2981
    @splash2981 3 ปีที่แล้ว

    The sketch of the malicious user at 14:22 is hilarious!

  • @mustafakamalsirajudeen8133
    @mustafakamalsirajudeen8133 5 ปีที่แล้ว

    Excellent. Waiting for the next video. As many of your followers requested, please do video for OAuth2 as well.

  • @MysticOblong
    @MysticOblong 3 ปีที่แล้ว

    Thanks for taking the time to create such an informative video! This answered my question about the secret part of JWTs and how that fits in with everything.

  • @pankajutubepankaj
    @pankajutubepankaj 3 ปีที่แล้ว

    You are gold Koushik!!!

  • @tangomoocow
    @tangomoocow 2 ปีที่แล้ว

    brilliant explanation, thanks

  • @051_shivangtripathi8
    @051_shivangtripathi8 2 ปีที่แล้ว

    Nicely Explained JWT , thanks 👍

  • @Abi-iy6ek
    @Abi-iy6ek 3 ปีที่แล้ว

    Very clear explanation :) Tku so much. If https(or SSL) can prevent stealing the JWT, why do we even need the signature in the 1st place?

  • @ShivamMishra-tf6cf
    @ShivamMishra-tf6cf ปีที่แล้ว

    Loved the explanation. Thank you so much!!

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

    Love your presentation skills and content with practical example. You made it look so easy to digest. Have been reading different blogs but was not able to get clarity. Thanks for the wonderful video. Out of curiosity do you have series on Linkedin learning ?

  • @mihiragrawal1870
    @mihiragrawal1870 2 ปีที่แล้ว

    Great video. Kudos to the creator for the effort!!

  • @gyorgyszabo3607
    @gyorgyszabo3607 2 ปีที่แล้ว

    Very good tutorials, many thanks!

  • @superlistCG
    @superlistCG 3 ปีที่แล้ว

    Great tutorial as always.

  • @ncapp372
    @ncapp372 4 ปีที่แล้ว

    thanks again Koushik, very clear as always

  • @Harrybhatia16
    @Harrybhatia16 4 ปีที่แล้ว +2

    One more great tutorial on this channel! Quick Question pls. In a load balanced env, will the secret key be same for all servers i.e. if a server signs and another server gets the next request, how will that workout

  • @rod9h
    @rod9h 3 ปีที่แล้ว

    Great video. Good explanation. Thank you.

  • @MuhammadTayyab1
    @MuhammadTayyab1 4 ปีที่แล้ว

    so easy on my ears and brain, thanks man

  • @raharney
    @raharney 3 ปีที่แล้ว

    Thanks for that. Very nicely explained.

  • @chetanraj1950
    @chetanraj1950 2 ปีที่แล้ว

    Woah...Just Amazing. Undestood totally.

  • @sachinhande
    @sachinhande 5 ปีที่แล้ว +1

    Thanks a lot Kaushik 😊

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

    @ 11:00 work mentioning that the secret being used to calculate the HMAC would first have to be exchanged between the server and client using a key exchange algorithm such as RSA.

  • @sachinprasad2220
    @sachinprasad2220 2 ปีที่แล้ว

    Awesome explanation 🙂

  • @ALEEMKHAWAR1
    @ALEEMKHAWAR1 3 ปีที่แล้ว

    very clear explanation.

  • @Alex-k6f3l
    @Alex-k6f3l ปีที่แล้ว

    so clear! and also explain the pros & cons of JWT and suggestions how to solve this. ex, oAuth