Рет қаралды 3,969
Today, we will implement authentication using JSON-Web-Token in a Express.js Server. When someone will log in, We will store the JWT token in a Cookie and send it to the client side. Finally, We will create a middleware which will check Auth before it goes into any private or protected route.
♥ Support the Content Creator:
☕ Buy Me A Coffee: www.buymeacoff...
🔔subscribe and turn on the notification bell.
👉 source code: github.com/Sha...
Follow Shaif Arfan 👇👇
Instagram: / shaifarfan08
Facebook: / fb.shaifarfan08
Twitter: / shaifarfan08
Timestamps -
00:00 - Intro
01:20 - Setup Express Server
15:47 - Registration
27:01 - Login
37:32 - Check Auth Middleware
43:21 - Logout
46:23 - Fix
48:27 - Outro
▶ Also Watch :
HTML CSS Portfolio Project: • HTML CSS Portfolio Pro...
One Page HTML & CSS Project: • One Page Full Website ...
HTML & CSS Landing Page : • HTML & CSS Website Lan...
Mini Project for HTML & CSS : • Responsive Website Wit...
How To Make A WordPress website: • How To Make A Professi...
▶ Some useful Playlist :
HTML & CSS: • HTML & CSS
Vanilla JavaScript : • Vanilla JavaScript
Frontend Mentor Challenges: • Frontend Mentor Challe...
30days30submits Challenge: • 30days30submits
🌐 Join The Community :
Our website : webcifar.com/
Facebook Page : / webcifar
Facebook group : bit.ly/fb-group...
Instagram : / web_cifar
twitter : / webcifar
Github: github.com/Web... & github.com/sha...
#webcifar #jwt #expressjs