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

  Рет қаралды 27,665

Code With Yousaf

Code With Yousaf

Күн бұрын

Пікірлер: 50
@SanduSenavirathne
@SanduSenavirathne 11 ай бұрын
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 10 ай бұрын
This is straight forward class. I understand jwt easily because of this video. Thank you!!
@AshishRaj04
@AshishRaj04 10 ай бұрын
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 10 ай бұрын
but where is the code ?
@godismyway7305
@godismyway7305 7 ай бұрын
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!
@MounaBaiBRGHCS
@MounaBaiBRGHCS Ай бұрын
Thank you yousaf :) thanks a lot i was stuck with from past 2 days now i am clear about this and i got
@kranthikumar5215
@kranthikumar5215 5 ай бұрын
Waaaaaaaaaaa,,,,You are true youtuber with crystal clear explanation 👌 bhai ❤️ u lot .....N god bless u bro.....for teaching us!!!🎉
@abuasim1000
@abuasim1000 8 ай бұрын
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.
@nocheatmsmurf6702
@nocheatmsmurf6702 11 ай бұрын
welcome Yousaf
@rajadurai7336
@rajadurai7336 6 ай бұрын
Thank you so much for this tutorial brother 😀
@tuhaniatech
@tuhaniatech 4 ай бұрын
you are doing very WELL sir,
@mindcreativestudios4709
@mindcreativestudios4709 6 ай бұрын
A million thanks for this video, so helpful!!!
@Coder856
@Coder856 11 ай бұрын
Wow superb brooo
@nenothespider
@nenothespider 7 ай бұрын
I like your videos Yousaf, Thanks!👍👍👍👍👍🤝🤝🤝🤝🤜🤛
@ramasamymuthukumar6959
@ramasamymuthukumar6959 4 ай бұрын
excellent job bro...
@Kumneger21Derese
@Kumneger21Derese Ай бұрын
Thanks sir.
@yadhavan193
@yadhavan193 7 ай бұрын
Thank u so much brotha ❤
@josephito27
@josephito27 Ай бұрын
how does the secure:true works for you and sets the refreshToken in the cookies? mine needs to be in false in order to work
@adi4178
@adi4178 8 ай бұрын
I am using the fetch method i am unable to store cookie please help me
@codewithyousaf
@codewithyousaf 8 ай бұрын
fetch( 'url', { credentials: 'include' } )
@uzochukwuemeka3449
@uzochukwuemeka3449 4 ай бұрын
Thanks so much 😊😊
@lyhoangdong0909020227
@lyhoangdong0909020227 2 ай бұрын
Thanks!
@jerichogibsmaralit7103
@jerichogibsmaralit7103 10 ай бұрын
Next Tutorial sir is for Protected Routes for MERN stack
@codewithyousaf
@codewithyousaf 10 ай бұрын
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.
@edled5939
@edled5939 11 ай бұрын
Can you please post the source code? Its not in the description
@codewithyousaf
@codewithyousaf 11 ай бұрын
click on the link buymeacoofe.com you will get there
@XIAOMI_corp
@XIAOMI_corp 9 ай бұрын
I can use fetch? Axios is bad
@skcreations2181
@skcreations2181 Ай бұрын
Bro, I get "Cannot set headers after they are sent to the client" this error😢 And after login, it's not redirecte to dashboard page
@sharan.r
@sharan.r 6 ай бұрын
Great video, I want a logout functionality, how can I implement this?
@codewithyousaf
@codewithyousaf 6 ай бұрын
create a button by pressing btn If token is stored in cookies remove it from cookie ..
@sharan.r
@sharan.r 6 ай бұрын
@@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');
@GamerSpan
@GamerSpan 5 ай бұрын
how to integrate with website
@aswinkrishna-r7s
@aswinkrishna-r7s 3 ай бұрын
Great
@Amad214
@Amad214 11 ай бұрын
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 11 ай бұрын
you want to add login to the crud app you have created?
@SubhanAli-ej1hj
@SubhanAli-ej1hj 3 ай бұрын
thanks
@kishorrajput368
@kishorrajput368 11 ай бұрын
Sir where are you from??
@ramakrishnameduri3125
@ramakrishnameduri3125 7 ай бұрын
The refresh token is not working
@AbhirajKumar-w8d
@AbhirajKumar-w8d 8 ай бұрын
Than you sooo much :)) Please provide source code link for the same :))
@سعید-ظ2ف4ي
@سعید-ظ2ف4ي 3 ай бұрын
What is different between access token and refresh token?
@codewithyousaf
@codewithyousaf 3 ай бұрын
An access token is a short-lived token used to authenticate and authorize requests to protected resources. A refresh token, on the other hand, is a long-lived token used to obtain a new access token once the current access token expires, without requiring the user to re-authenticate.
@jayconjudemadrid8987
@jayconjudemadrid8987 6 ай бұрын
Is there a source code for this?
@lyrichives7859
@lyrichives7859 3 ай бұрын
47:46
@UserAliyev
@UserAliyev 11 ай бұрын
l am waiting social media app from you please 😀❤️
@Coder856
@Coder856 11 ай бұрын
Yousaf bhaiii agr Apne aik chuta sa video banao na ompass py wo locally kaisy set kar skty haiii
@codewithyousaf
@codewithyousaf 11 ай бұрын
mi ny already banaya hi search in my youtube channel Compass
@codewithyousaf
@codewithyousaf 11 ай бұрын
kzbin.info/www/bejne/mH3GlYCweJedmLcsi=dTvkW9fra7lfxx6G
@aservantofjesuschrist6911
@aservantofjesuschrist6911 3 ай бұрын
For what shall it profit a man, if he shall gain the whole world, and lose his own soul? Or what shall a man give in exchange for his soul? Whosoever believeth in Jesus Christ should not perish, but have everlasting life. Please come to Jesus Christ, He loves you.
@andrews13
@andrews13 7 ай бұрын
41:32
@shivashankarec0567
@shivashankarec0567 5 ай бұрын
38:54
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 177 МЛН
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 261 М.
React And Django Secure Authentication #1 | JWT tokens
19:07
Matt Makes Code
Рет қаралды 3,5 М.
Refresh Token Rotation With Next-Auth V5 || Managing Tokens With A Custom Backend
48:28
tapaScript by Tapas Adhikary
Рет қаралды 9 М.
Secure Your .NET API in 15 Minutes: JWT Authentication Tutorial
15:05
Milan Jovanović
Рет қаралды 21 М.