JWT Authentication Masterclass: Access & Refresh Tokens | Secure Your MERN Stack App

  Рет қаралды 17,928

Code With Yousaf

Code With Yousaf

7 ай бұрын

Learn JWT Authentication from scratch! This video explains JSON Web Tokens (JWTs) and how to use them for secure user authentication and authorization in your MERN stack (MongoDB, Express, React, Node.js) applications. Master Access and Refresh token functionalities to enhance user experience and security.
Source Code:
Support Me:
www.buymeacoffee.com/codewith...
#JWTAthentication #MERNstack #Accesstoken #Refreshtoken #Userauthentication #Authorization #SecureMERNstack #JWTTutorial #MERNsecurity

Пікірлер: 37
@user-xm2ks3vd1b
@user-xm2ks3vd1b 7 ай бұрын
Big thanks for you brother. You the only one guy I found that teach the these kind of concepts one by one clearly 😉
@dobingify3130
@dobingify3130 6 ай бұрын
This is straight forward class. I understand jwt easily because of this video. Thank you!!
@mindcreativestudios4709
@mindcreativestudios4709 2 ай бұрын
A million thanks for this video, so helpful!!!
@ramasamymuthukumar6959
@ramasamymuthukumar6959 10 күн бұрын
excellent job bro...
@rajadurai7336
@rajadurai7336 2 ай бұрын
Thank you so much for this tutorial brother 😀
@AshishRaj04
@AshishRaj04 6 ай бұрын
What a masterpiece of a tutorial . Keep uploading such type of videos . The error hunting at the end was pure gem . Thanks a lot .
@AshishRaj04
@AshishRaj04 6 ай бұрын
but where is the code ?
@nocheatmsmurf6702
@nocheatmsmurf6702 7 ай бұрын
welcome Yousaf
@kranthikumar5215
@kranthikumar5215 23 күн бұрын
Waaaaaaaaaaa,,,,You are true youtuber with crystal clear explanation 👌 bhai ❤️ u lot .....N god bless u bro.....for teaching us!!!🎉
@yadhavan193
@yadhavan193 3 ай бұрын
Thank u so much brotha ❤
@nenothespider
@nenothespider 2 ай бұрын
I like your videos Yousaf, Thanks!👍👍👍👍👍🤝🤝🤝🤝🤜🤛
@Coder856
@Coder856 7 ай бұрын
Wow superb brooo
@godismyway7305
@godismyway7305 2 ай бұрын
My honest opnion, I have seen a lot of videos regarding JWT , yours is the most clear and helpful video. Even when you find error in your code and you didn't cut that part so that we can learn how to debug errors. Subscribed brother!
@XIAOMI_corp
@XIAOMI_corp 5 ай бұрын
I can use fetch? Axios is bad
@GamerSpan
@GamerSpan Ай бұрын
how to integrate with website
@jerichogibsmaralit7103
@jerichogibsmaralit7103 6 ай бұрын
Next Tutorial sir is for Protected Routes for MERN stack
@codewithyousaf
@codewithyousaf 6 ай бұрын
I have video on that you can searcch in my channel. also you can find employee management system on my channel where I implemented. tomorrow I will upload a project you can watch that.
@adi4178
@adi4178 4 ай бұрын
I am using the fetch method i am unable to store cookie please help me
@codewithyousaf
@codewithyousaf 4 ай бұрын
fetch( 'url', { credentials: 'include' } )
@user-cu5ju2rj6r
@user-cu5ju2rj6r 4 ай бұрын
Than you sooo much :)) Please provide source code link for the same :))
@kishorrajput368
@kishorrajput368 7 ай бұрын
Sir where are you from??
@abuasim1000
@abuasim1000 4 ай бұрын
Bro you have good knowledge but your method is very confusing because you don't stop one task to finish. You must finish first the backend part to confirm the backend logics are working fine. Then proceed to the frontend. Otherwise your visitor will keep navigating from one task to another, and, in the end he will get frustrated and give up.
@UserAliyev
@UserAliyev 7 ай бұрын
l am waiting social media app from you please 😀❤️
@ramakrishnameduri3125
@ramakrishnameduri3125 3 ай бұрын
The refresh token is not working
@shivashankarec0567
@shivashankarec0567 Ай бұрын
38:54
@Amad214
@Amad214 6 ай бұрын
please help me i made crud system node js react and mongodb and i dont how that crud added them login form pls help me and its asseynment from my university pls help me
@codewithyousaf
@codewithyousaf 6 ай бұрын
you want to add login to the crud app you have created?
@sharan.r
@sharan.r 2 ай бұрын
Great video, I want a logout functionality, how can I implement this?
@codewithyousaf
@codewithyousaf 2 ай бұрын
create a button by pressing btn If token is stored in cookies remove it from cookie ..
@sharan.r
@sharan.r 2 ай бұрын
@@codewithyousaf I tried this in my logout route but it doesnt seem to remove the cookies for some reason: res.cookie('refreshToken', '', { maxAge: 0, httpOnly: true, secure: true }); res.clearCookie('accessToken');
@edled5939
@edled5939 6 ай бұрын
Can you please post the source code? Its not in the description
@codewithyousaf
@codewithyousaf 6 ай бұрын
click on the link buymeacoofe.com you will get there
@jayconjudemadrid8987
@jayconjudemadrid8987 Ай бұрын
Is there a source code for this?
@Coder856
@Coder856 7 ай бұрын
Yousaf bhaiii agr Apne aik chuta sa video banao na ompass py wo locally kaisy set kar skty haiii
@codewithyousaf
@codewithyousaf 7 ай бұрын
mi ny already banaya hi search in my youtube channel Compass
@codewithyousaf
@codewithyousaf 7 ай бұрын
kzbin.info/www/bejne/mH3GlYCweJedmLcsi=dTvkW9fra7lfxx6G
@andrews13
@andrews13 3 ай бұрын
41:32
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 27 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 21 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Aider and Claude 3.5: Develop a Full-stack App Without Writing ANY Code!
16:58
Coding the Future With AI
Рет қаралды 18 М.
JWT token vs Server Tokens
10:25
Hitesh Choudhary
Рет қаралды 28 М.
JWT Authentication with Access Tokens & Refresh Tokens In Node JS
26:15
ASP.NET and JWT Refresh Tokens
30:43
Coding Tutorials
Рет қаралды 8 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 27 МЛН