What is the structure of a JWT - Java Brains
Вставка
- Опубліковано 15 жов 2024
- In this tutorial, we’ll understand the structure of a JWT. We’ll see how a JWT is created, what the parts of the token are and how you can construct and deconstruct a JWT yourself. We’ll also look at some of the implications of this JWT structure, and some of the resulting advantages and disadvantages of using JWTs for authorization as a direct result of how it is structured.
Java Brains website: javabrains.io
#JavaBrains #BrainBytes #WhatIs #JWT #Java #Tutorial #Concept
1) Wake up. 2) Make a pot of coffee. 3). Binge watch Javabrains 😀. Thanks again Koushik!
4. Profit
It's crazy that I am doing the exact same thing rn
i realize Im kind of off topic but do anyone know of a good website to stream new series online ?
@Cruz Otto i watch on flixzone. You can find it on google =)
@Quinn Karson Thanks, I went there and it seems to work :D Appreciate it !!
An example of a perfect and meaningful explanation! That is a real gem, hard to find in the modern internet full of mediocre stuff.
His tutorials are really good! Great content with so much clarity
@Shandilya's Top 5 qqqqqqqqqqqqqqqqqqqqq+qqqqqqQqqqqqqqqqqqqqq+qqqqqqqqqqqqqqqq+qqqqqqqqqqqqqqq
ur happy
Probably the most underrated person on youtube ..He deserves many more subscribes for his top class content ...
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!
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).
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❣️❣️✏️
Explained in a great way! Never imagined this concept to be so simple and interesting.
Man...you are a true GURU....I am following your tutorial since long......just leave Linkedin and start teaching full time :)
aap bahuton k liye aadarsh hain bade bhai... Dil se dhanyawaad 🙏
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
Kouhik bhai i am saying this honestly that my search regarding the topic ended after seeing this tutorial. Best Best Best.
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!
This made JWTs very easy to understand. All explained from first principles! Amazing work @Java Brains
I cannot help but leave a comment for the wonderful (and super helpful) java guide for newbie developers like me. Thank you!
Why do anybody wants to dislike this video??
It's so amazingly explained!
They tapped twice like inadvertently
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!
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.
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.
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....
I can’t believe i just came across your channel. This is gold, thank you!
The 2 videos about JWT are so well structured and very clear. Thank you so much!
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
It's just "once in a blue moon" feeling when I wish I could like a video multiple times. Can't thank enough.
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!
it's all time best video on JWT. Great. Thank you
Going down the JWT rabbit hole. Thanks for the great free videos man !!!
The three parts of a JWT are the header, the payload and the sick nature
Highly appreciate the way of instruction
Thanks for the best explanation ❤️❤️
wish you have healthy and long life and keep making tutorials for us, the way of your teaching is AWESOMEE....Love from Bangladesh.
This tutorial makes me conceptually clear. Heads up to Java Brain.
Thank you Koushik. I cannot imagine a day without watching Java Brains and learning something new . Cant thank you enough. God Bless
Your analogies are gem, please continue such noble work
This is the best JWT explanation on the Internet!
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!
thanks man. Really cleared the entire concept in half hour. Very nice explanation
Best explanation ever about JWT
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!!
A quality content on JWT. Thanks much sir.
Best Tutorial on Internet about JWT ❤
this is way beyond well presented content. Thank you alot. I am gonna go thru other videos too.
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.
Awesome. So intuitive to understand your tutorials. Requesting you to do one on JWT Generation and Validation in conjunction with OAuth. Thanks in advance.
This is so helpful! Very simply nicely explained! Thank you
Wow what a explanation fallen in love with you for this …awesome man…excellent
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!!
I am building an SSO... And this video series is a life saver
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?
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.
Thank you! Best JWT Video on UA-cam. Will definitely come back for other content.
Best explanation found, thanks java brains!!
Simple and straight to the point....
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!!
Nicely Explained JWT , thanks 👍
excellent and clear explanation. thank you.
Loved the explanation. Thank you so much!!
Great video. Good explanation. Thank you.
You have very good explanation. It’s clear and easy to understand. Thank you.
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!
As always, clear crisp and to the point.
Very good tutorials, many thanks!
Thanks for that. Very nicely explained.
Couldn't be more perfect. Kudos
Best Tutorial on the topic
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 !
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.
This is a beautiful explanation
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.
Now finally, I understand it!! Thanks for this. Great explanation.
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.
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!
no wonder why this video has no dislikes , huge thanks sir
Excellent. Waiting for the next video. As many of your followers requested, please do video for OAuth2 as well.
Beautifully explained..well done. Thanks a lot.
Thank you very much! Your videos are very helpful and gave me the idea of JWT in an easy to understand simple way ❤️
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. :)
so clear! and also explain the pros & cons of JWT and suggestions how to solve this. ex, oAuth
Thanks for sharing this. Very helpful.
Just one word - Brilliant!
Wonderful explanation. Thank you for this. You are doing a great service.
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.
Very Usefull ..nice one
brilliant explanation, thanks
this content is priceless , thanks Kaushik , you are love ❤️
Loving these videos, however, did you mean to say OAuth is used for handling authentication and authorization at 14:38? In your first video you made the clear distinction it is not authentication as that's handled outside the OAuth process (as far as I'm understand this, the resource server before issuing an OAuth access token will check to see if there's a valid authenticated session, and if not, will direct the user to log into the resources server first ). Can you clarify this?
Could you set up an pay-pal please so we could freaking pay you for your genius tutorials?
ua-cam.com/video/1IY6vIdRG_0/v-deo.html
@@BalaKrishnan-mk6hq Thank you, I am a member now!
Java brains deserves our donation I will also join in this channel later on. I am glad you joined thanks Michael.
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?
How would you recommend maintaining a secret across multiple micro-services so that JWTs can be authorized?
Thanks a lot, for clearing my doubts about Jwt.
Your videos are gems. Thank you.
Can you make a brief video on how to write documentation for web projects.
Great tutorial! Looking forward to the next one showing how it can be implemented.
Thank you for a amazing explanition.
No words to describe the words yu put to taught us!!
Well explained. Respect from Pakistam.
Thank you so much for the awesome explanation
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 ?
very clear explanation.
Great video. Kudos to the creator for the effort!!
You are so awesome. It's the best video on JWT.
Awesome explanation 🙂
Another fantastic video. Thank you so much.
so easy on my ears and brain, thanks man