JWT Authentication Masterclass: Access & Refresh Tokens | Secure Your MERN Stack App
ฝัง
- เผยแพร่เมื่อ 11 ธ.ค. 2023
- 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
you are doing very WELL sir,
Big thanks for you brother. You the only one guy I found that teach the these kind of concepts one by one clearly 😉
This is straight forward class. I understand jwt easily because of this video. Thank you!!
What a masterpiece of a tutorial . Keep uploading such type of videos . The error hunting at the end was pure gem . Thanks a lot .
but where is the code ?
excellent job bro...
Waaaaaaaaaaa,,,,You are true youtuber with crystal clear explanation 👌 bhai ❤️ u lot .....N god bless u bro.....for teaching us!!!🎉
A million thanks for this video, so helpful!!!
Thank you so much for this tutorial brother 😀
welcome Yousaf
I like your videos Yousaf, Thanks!👍👍👍👍👍🤝🤝🤝🤝🤜🤛
Thank u so much brotha ❤
Thanks so much 😊😊
Wow superb brooo
I can use fetch? Axios is bad
The refresh token is not working
how to integrate with website
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!
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.
Sir where are you from??
Is there a source code for this?
I am using the fetch method i am unable to store cookie please help me
fetch(
'url',
{ credentials: 'include' }
)
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
you want to add login to the crud app you have created?
Than you sooo much :))
Please provide source code link for the same :))
Can you please post the source code? Its not in the description
click on the link buymeacoofe.com you will get there
Great video, I want a logout functionality, how can I implement this?
create a button by pressing btn If token is stored in cookies remove it from cookie ..
@@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');
l am waiting social media app from you please 😀❤️
Next Tutorial sir is for Protected Routes for MERN stack
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.
38:54
Yousaf bhaiii agr Apne aik chuta sa video banao na ompass py wo locally kaisy set kar skty haiii
mi ny already banaya hi search in my youtube channel Compass
th-cam.com/video/bLcdMzC2jbU/w-d-xo.htmlsi=dTvkW9fra7lfxx6G
41:32