No video

What are JSON Web Tokens? JWT Auth Explained [Tutorial]

  Рет қаралды 124,456

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Learn about JWT and how to use them for authentication. JSON Web Tokens are used for representing claims securely between two parties. In this tutorial , you will learn the JWT Auth flow without being distracted by a lot of extra libraries. This tutorial teaches JWT Auth as simply as possible.
💻 Code: github.com/wei...
🎥 Video from Thomas Weibenfalk. Check out his channel: / @weibenfalk
--
Learn to code for free and get a developer job: www.freecodeca...
Read hundreds of articles on programming: freecodecamp.o...

Пікірлер: 63
@ProgrammingwithPeter
@ProgrammingwithPeter 4 жыл бұрын
the community needed something like this! I couldn't explain this better even if i tried really hard!
@pjguitar15
@pjguitar15 3 жыл бұрын
How can I ever learn thing like JWT without videos like this? Reading docs doesn't help! Thank you so much!
@lunaticberserker5869
@lunaticberserker5869 3 жыл бұрын
Wait until you see passportjs.
@krishgarg2806
@krishgarg2806 2 жыл бұрын
@@lunaticberserker5869 well it is good to learn Jwt so you are not bound to one language. Even though I use node, I usually implement auth myself with jwt instead of passport.
@rajasthani_dj
@rajasthani_dj 4 жыл бұрын
Thanks For this video. I'm looking for JWT and then today this video notification pop-up Thank again
@samirgyawali5207
@samirgyawali5207 4 жыл бұрын
Notification occurred 😂🤣🤣🤣🤣🤣🤣🤣😅😅😂😂
@dajpeace
@dajpeace 4 жыл бұрын
Great tutorial! This is exactly what I needed, thanks a lot and keep up with the awesome content.
@JohnWickXD
@JohnWickXD 5 ай бұрын
severely underrated!
@_xentropy
@_xentropy 2 жыл бұрын
Thank you for making this so understandable.
@whiterockjoe
@whiterockjoe Жыл бұрын
Thanks for the tutorial. Appreciated.
@captainmeme9476
@captainmeme9476 4 жыл бұрын
I never comment a video before, but I do it only for FCC, you are the light of a dark time, I'am sorry for not being able to make a donation, I live in a country where the online payment card are forbidden , where the technology and learning are just for governor's sons and the rich people , thanks you for the knowledge and you gave me hope after having lost you are the best school that I never could have with teachers that I never knew IRL, I'm sorry for not being able to make a donation, one day I will be the best, free camp code dear guardian of science
@zHqqrdz
@zHqqrdz 3 жыл бұрын
Keep learning, the internet is the best school which you can attend at any age, for as long as you want :) Have fun man !
@parikshitrawat8680
@parikshitrawat8680 3 жыл бұрын
Someone's who's into memes and code. You already have a very bright future bro.
@dangus1924
@dangus1924 4 жыл бұрын
Awesome Video Love this channel contents! Thank you
@pariparia6033
@pariparia6033 2 жыл бұрын
you are awesome man🌷🌷 thanks for sharing your knowledge😍🙏🏻
@fujinafiul6044
@fujinafiul6044 4 жыл бұрын
just a free pure gold for those who just want to know how to mine gold..! exactly what a beginner needed
@simardeepsinghmudhar7065
@simardeepsinghmudhar7065 Жыл бұрын
God Level Stuff , Loved it
@AnkitSingh-bv5vg
@AnkitSingh-bv5vg Жыл бұрын
28:30 Token and refresh token
@wkylinw8959
@wkylinw8959 4 жыл бұрын
Very nice job! Thanks!
@ComputerScienceAcademy5220
@ComputerScienceAcademy5220 4 жыл бұрын
Sweet tutorial! By the way how much do you take to respond to an email on average?
@Weibenfalk
@Weibenfalk 4 жыл бұрын
Well ... that depends if I'm busy with something else or not ... ;) But usually in 24 hours ...
@ComputerScienceAcademy5220
@ComputerScienceAcademy5220 4 жыл бұрын
@@Weibenfalk I sent you an email. Waiting for a reply.
@Weibenfalk
@Weibenfalk 4 жыл бұрын
Haven’t got any email.
@RicardoAugustocom
@RicardoAugustocom 4 жыл бұрын
How to persist the authenticated state after a page refresh? No GET api/url performed to refresh the token, just hit F5 Edit: use a refreshToken
@JavaAidTutorials
@JavaAidTutorials 4 жыл бұрын
*Awesome content*!! 👍👍
@hamidmohammadi8570
@hamidmohammadi8570 Ай бұрын
Assuming backend just accept request that contain token. How can handle returned token from backend to use in all request of frontend(javaFX) that send to backend? My problem is handling token in frontend.
@mikeglaz
@mikeglaz 4 жыл бұрын
There should be an npm package called slap-in-face (SIF) for when you forget an 's' on 'req.headers'...
@danielarf4409
@danielarf4409 4 жыл бұрын
Very nice job! Tanks to shared your acknowledgments! Anyone knows what's the font-family on vscode?
@Weibenfalk
@Weibenfalk 4 жыл бұрын
It's Operator Mono =)
@ratnachaitanya2663
@ratnachaitanya2663 3 жыл бұрын
If iam logged in a website through auth redirect url token in one browser and again if iam logged in the same website in another browser, it creates another different url token for login . Then which url token will be registerd or tracked by that website ? either First one or next one..?? Thankyou for ur valuable answer in advance..!!
@fulpixel
@fulpixel 4 жыл бұрын
Thank you!!
@emmahgigi7157
@emmahgigi7157 4 жыл бұрын
Thsnk you
@garypweedman4686
@garypweedman4686 2 жыл бұрын
Excellent
@namankothari1129
@namankothari1129 2 жыл бұрын
Can someone please explain me in simple words what did he say about versions w.r.t to refresh tokens?
@Franiveliuselmago
@Franiveliuselmago 4 жыл бұрын
Small question about the CSS. Why use "list-style-type" instead of just "list-style" ?
@DanielK48
@DanielK48 4 жыл бұрын
Does anyone know what font he is using ? Great video btw :)
@jobs408
@jobs408 4 жыл бұрын
Operator Mono
@CharlExMachina
@CharlExMachina 4 жыл бұрын
What font are you using? It looks beautiful
@rahulsriram6295
@rahulsriram6295 3 жыл бұрын
Operator Mono
@quincejoz-bruer9858
@quincejoz-bruer9858 4 жыл бұрын
Hello, In my refresh_token route, My token is successfully set, but when i'm trying to request it. And im console.log it out. it return undefined? How can i solve this please
@enesguler6034
@enesguler6034 3 жыл бұрын
In index.js file put a slash (/) before refresh_token in line server.post('refresh_token')
@canmertinyo
@canmertinyo Жыл бұрын
thanks
@gosnooky
@gosnooky 4 жыл бұрын
You can do [, token] = authorization.split(' ');
@DiabloVal
@DiabloVal 4 жыл бұрын
i find the video approach more useful but you can surely use it too.
@joe-un1ky
@joe-un1ky 4 жыл бұрын
Yes, if you want to make the code less readable
@gosnooky
@gosnooky 4 жыл бұрын
@@joe-un1ky How so?
@koggism
@koggism Жыл бұрын
Pitty the camera was out of focus - but otherwise a good video
@_xentropy
@_xentropy 2 жыл бұрын
Prior to authentication, the password is sent to the server in plaintext? This seems like a problem. How do you solve that? Do you only accept authentication over https?
@_xentropy
@_xentropy 2 жыл бұрын
Also, your vscode font is very nice.
@user-qk5mr8ez6y
@user-qk5mr8ez6y Жыл бұрын
Sending passwords from the browser to the web server over HTTPS is standard practice. The password is encrypted by virtue of HTTPS as it is sent.
@jobs408
@jobs408 4 жыл бұрын
I have so many questions sir, can I email you? Thanks!
@Parulvineetsharma
@Parulvineetsharma 2 жыл бұрын
Awesome
@quincejoz-bruer9858
@quincejoz-bruer9858 4 жыл бұрын
If i'm using mongoDB as my database, how can i add my refresh token in my user table
@panachaiboonyoo1553
@panachaiboonyoo1553 Жыл бұрын
20:11
@abhishekmazumdar2072
@abhishekmazumdar2072 4 жыл бұрын
You are from Sweden? Say hi to Zlatan!
@growtoups
@growtoups 3 жыл бұрын
i dont want to hurt your feeling but im tired of indian accent there's too much
@wonderman8537
@wonderman8537 3 жыл бұрын
He isn't an Indian 😑, he's Swedish
@almanduku9043
@almanduku9043 3 жыл бұрын
His accent doesn't seem like indian burrruuuuuuhh
@pariparia6033
@pariparia6033 2 жыл бұрын
you don't want but you do :| , Imagine how hard it is to be Iranian and listen to English with an Indian accent😆😆
@sakshamverma9981
@sakshamverma9981 2 жыл бұрын
09:24 i will ofcourse use wwibenrules. Yeeaaayyyy
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,1 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 21 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 78 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 620 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
JWT Authentication | Node JS and Express tutorials for Beginners
1:00:03
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
Why is JWT popular?
5:14
ByteByteGo
Рет қаралды 307 М.
JWT Authentication with Node Crash Course
1:29:11
Laith Academy
Рет қаралды 51 М.
JWT Authentication with Access Tokens & Refresh Tokens - Node.js
37:16
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 21 МЛН