Authentication using JWT - Part 4 ( Generate and Validate JWT ) In Tamil
Вставка
- Опубліковано 22 бер 2020
- Part 4 of 4, In this video we see How to generate and validate JSON web token and also learn how to make a private routes
Playlist Link : • JWT - Authentication (...
Credits : Dev Ed
Inspired By : Colt Steele, Brad Traversy
Na patha video lay aa THE BEST🎉🤝💥
Really good teaching in tamil language 🎉
Crystal clear explanation bro ! Hats off!
nandrigal thalaiavareeee
Super bro...👏👏
Great explain
Vera level bro ..... Semmaya teach paninga thank you ❤️
Great tutorial sir👍
you saved my life..
Your explaination is super i like it. But cookie storage is may be use for website developement using node js , what will do for if create API using node js? How can we store the token in cookie storage
Really awesome
thank you so much nanba!!!!
.How to inactive the cookie while logout?
yes please tell me for logout
while code for clear cookies
res.clearCookie("key"); like this
make angular video bro
Anna ennaku postman la token show agala . What is the problem?
anna one error solev pana mudiyala pl need help mail ID kidakima
(node:7820) UnhandledPromiseRejectionWarning: TypeError: User is not a constructor
Jwt yaralaiyum decode Pana mudiyathu soninga but antha jwt official website la poi convert pana nama details show agutha epadi ithu epadi secure
Yes that's a good question @Yusoof !
1) First of all Tokens la namma user oda details like passwords or other privacy things store pana matom. we used to store the ids or name or admin/not information
2) Tokens are encrypted in way that others vanthu antha pattern recreate pana mudiyathu. if he recreate means antha token vachi he will access the routes.
3) Tokens ah atha safe ah namma cookies la store panrom. while log out panra pa tokens ah invalid pani vitruvom.
4) Even If intruder ku unga token kidachalum atha vachi he can only knows ur username. Since token has a expire time it will automatically becomes invalid. antha token vachi he can't access the routes.
5) expire aana token vachi ithe mari he cannot recreate a new token just with ur username. that's what I mentioned as decode pana mudiyathu.
6) tokens can be only recreated only with your secret key atha matum namma remba secured ah vachirukanum.
Hope this explains your doubt.!
Thank you bro way of explanation is good 👌
What is the difference between const abc=require("xyz"); and const {abc}=require("xyz"); Answer me ASAP.
const abc=require("xyz"); -- this is for variable of npm package, const {abc}=require("xyz"); --- it means object variable for accessing fuction with arguments, you can see that video again very deep
can i get your email id bro?