Тёмный

🔴 Secure JWT Authentication | Store JWT Tokens in HTTPOnly Cookie using NodeJS & MongoDB in Hindi 

Thapa Technical
Подписаться 691 тыс.
Просмотров 49 тыс.
50% 1

Welcome, we will see how to Secure JWT Authentication | Store JWT Tokens in HTTPOnly Cookie using NodeJS & MongoDB in Hindi in 2020. How to store jwt token in httponly cookie? How to store jwt in a cookie?
What Are Cookies? What is a Cookie?
Cookies are small files that are stored on a user's computer. They are designed to hold a modest amount of data specific to a particular client and website and can be accessed either by the web server or the client computer.
😍 Check my Instagram to Contac me: / vinodthapa55
✅ NodeJS Tutorial in Hindi 2020: • NodeJS Tutorial in Hin...
✅ Express JS Tutorial In Hindi in 2020: • Express JS Tutorial In...
************ Must Watch Videos For Web Development ************
➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: • React JS Tutorial in H...
➡️ React JS Project Netflix App Part #1 in Hindi in 2020: • #22: Props in React Js...
➡️ Install VS Code for ReactJS LINK: www.thapatechn...
😍😍 Check Programming Videos in One Hour👇
➡️ Complete Reactjs in One video here • ReactJS For Beginners ...
➡️ HTML in One Video: • Learn HTML in One Vide...
➡️ CSS in One video: • Learn Complete CSS In ...
➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
➡️ JavaScript in One video: • JavaScript in One Vide...
➡️ ECMAScript 6 in One Video: • ES5 & ES6 | ECMAScript...
➡️ HTML5 in one video: • HTML5 Tutorial in One ...
➡️ CSS3 in one video: • Learn Complete CSS3 In...
➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
➡️ Jquery in One video: • jQuery in One Video in...
➡️ JSON in one video: • JSON in One Video in H...
➡️ ReactJS in one video: • ReactJS For Beginners ...
➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
➡️ NodeJS in one video: / ipnwakoibt
➡️ MySQL in one video: • Complete SQL & MySQL i...
********** CLICK HERE TO WATCH ************
➡️ Fetch API in JavaScript: • Fetch API in JavaScrip...
➡️ AJAX tutorial for beginners in Hindi: • AJAX tutorial for begi...
➡️ Template literals (Template strings) in ES6 in JavaScript in Hindi: • ES6 Tutorial #3: Templ...
➡️ Async Await in JavaScript in Hindi: • Async Await in JavaScr...
➡️ Promises in JavaScript in Hindi: • Master The Promises in...
➡️ Callback Hell in JavaScript: • Callback Hell in JavaS...
➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
➡️ ECMAScript Tutorial in Hindi 2020: • Modern JavaScript ES6 ...
➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
➡️ JavaScript Game Development Series in 2020: • JavaScript Game Develo...
➡️ Source Code Link: www.thapatechn...
➡️ Top 5 Programming Languages in 2020: • Top 5 Programming Lang...
➡️ Ludo Game JavaScript Link: • JavaScript Game in Hin...
➡️Plz show some love to My Siter RU-vid Channel and Plz Subscribe Link: / @mayabeautyvlogs878
**************** MUST WATCH VIDEOS *****************
➡️ How to become a Full Stack Developer 2020: • How to become a Full S...
➡️ How To Become a Web Developer 2020: • How To Become a Web De...
➡️ How JavaScript Works: • How JavaScript Works i...
➡️ Follow me on Instagram: / vinodthapa55
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
➡️ Link: • Make Website Responsiv...
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Website Link: www.thapatechn...
Instagram Link: / vinodthapa55
Facebook Link: / vinodthapa55
Twitter Link: / vb55thapa
Facebook ThapaTechnical Page Link: www.facebook.c...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@Vipulghadi
@Vipulghadi 5 месяцев назад
I think we have to store token in http only cookie in server side, by this way cleint has not access to decode cookies on frontend
@omkarshinde7466
@omkarshinde7466 3 года назад
sir aapane MERN stack ke bare me jitana bhi sikhaya hai ab vah sab muze aata hai , kya muje aab 100% job milengi ?
@fridayknight1387
@fridayknight1387 Год назад
Hello Sir, I am a huge of your videos. But while learning, I ran into a problem. The cookie name(=jwt) is not showing in the cookie section. Any help from your side will be highly appreciated. Thanks in advance!
@fridayknight1387
@fridayknight1387 Год назад
@@robinsabhaya9621 okay thanks!
@noman3921
@noman3921 23 дня назад
Bro how you solved this problem?
@TechAahar
@TechAahar 3 года назад
Wow awesome and informative video, thank you bhai for sharing with you
@DEEPANSHU_NAG
@DEEPANSHU_NAG 3 года назад
*_AWESOME FORM UI_* 🔥✌🏻 *_PLZ BATAO AAPNE YE FORM UI KAISE BANAYE_* ❓
@vadantuchemistry2774
@vadantuchemistry2774 11 месяцев назад
bhiya me up ka sara vide dekta hu sab bhuat accha hai. Bhiya up please iska source code provide kardigiya.. please
@sanjaypaul6651
@sanjaypaul6651 2 года назад
thank you so much sir
@noumanahmad2313
@noumanahmad2313 2 года назад
Bhai ek problem ke key pora ka pora playlist dekhna parhta hy please just leave this method of indenting one video in another one
@prakashkushwah2921
@prakashkushwah2921 2 года назад
hello brother , i got a issue when we logged in then ,in my db new token added istead of replace older on , with same kind of code plz tell me a platform where i could dicuss & share screen shot plz reply as soon as possible #ThapaTechnical
@sujan_kumar_mitra
@sujan_kumar_mitra 3 года назад
React tutorial pe redux ke upar videos banao please...
@kalpeshwani231
@kalpeshwani231 3 года назад
Node js pe real time chat app create karo na bhai
@maninderkundra837
@maninderkundra837 11 месяцев назад
it isnt saving the cookie for me app.post("/signin", async (req, res) => { const { email, password } = req.body try { const user = await studentCollection.findOne({ email: email }) const isMatch = await bcrypt.compare(password, user.password) const token= await user.generateAuthToken(); await res.cookie("mytoken",token,{ path:'/signin' }) // console.log(token) if (isMatch) { res.json("success") } else { res.json("wrong password") } }catch (e) { res.json("nonexistent") } })
@shahharsh8433
@shahharsh8433 7 месяцев назад
in today's yee wali method use nahi hoti .cookie kee new method use hoti hee . yee wali expire hoo gaay hee.
@papersadda2402
@papersadda2402 3 года назад
Please tell me one thing cookie helps for login authentication but why cookie is stored for registration... How it helps in registration??? Please reply..
@pjos2981
@pjos2981 3 года назад
Thanku . I have a request pls make video on a website . Teacher. Login Student login Teachers uploads notes and students read it and comment.
@ratul1125
@ratul1125 3 года назад
nice idea
@sanjaypaul6651
@sanjaypaul6651 2 года назад
may, 30 i am learning node js who is also learning watching this series??
@ihybrid2.0
@ihybrid2.0 9 месяцев назад
Ye boom boom bolna band kro yrr, its so irritating
@vishalsolanki9234
@vishalsolanki9234 3 года назад
Sir I have one question, jab cookie ka time out hoga tab browser se cookie clean ho jayega but database se me Jo token store he cookie related uska kya..? Please Reply....
@codingwithazan2280
@codingwithazan2280 Год назад
normaly no body stored token in database
@2kwattzPhotography
@2kwattzPhotography Год назад
Watching this playlist from the beginning. Amazing work and great way of teaching!! I appreciate it very much! Thank you so much for your efforts!
@This__is__akash
@This__is__akash 3 года назад
and Boom guys.... mazaa aa gya sir
@ritanksaxena8772
@ritanksaxena8772 Год назад
Hey need help with cookie, I used the complete process but in browser the cookie content is getting undefined
@kanishkupadhyay5435
@kanishkupadhyay5435 3 года назад
Backend development me aur kitna video baaki h?
@sugogoi
@sugogoi Год назад
You always save me from semester projects 😂❤️
@khansawidhani9899
@khansawidhani9899 2 года назад
why we are storing cookies on registration? Whenever a user logged in, then of course there might be some data to store.
@s.jagadishs3218
@s.jagadishs3218 3 года назад
hi brother, for me cookies is not working, will you help?
@pushpendra7145
@pushpendra7145 2 года назад
could you be able to solve it
@gokuSinghBoi
@gokuSinghBoi Год назад
@@pushpendra7145 could you be able to solve it?
@AnkitKumar-r2n2o
@AnkitKumar-r2n2o 11 месяцев назад
nice
@usmanmughal5916
@usmanmughal5916 3 года назад
Please please please reply to this,Is there any facility available in express or nodejs to have same function to use ' usestate() ' from react to set access variable anywhere?
@casenaries3382
@casenaries3382 3 года назад
i guess I am quite randomly asking but do anybody know a good website to stream newly released series online ?
@daxtonkeaton1180
@daxtonkeaton1180 3 года назад
@Casen Aries Try flixzone. Just google for it :)
@griffinenoch8030
@griffinenoch8030 3 года назад
@Casen Aries i would suggest flixzone. You can find it by googling =)
@shivamnegi7552
@shivamnegi7552 2 года назад
@@casenaries3382 sflix.to
@rakeshkumaryadav1117
@rakeshkumaryadav1117 2 года назад
it went to catch part bcz of the console.log(cookie);
@23ritik
@23ritik 2 года назад
Src code dedo please iska mern backend project ka
@Mrtech-jf9yc
@Mrtech-jf9yc 3 года назад
204 view
@atozerp
@atozerp 2 года назад
Really superb video. Thanks
@vidhipatel4548
@vidhipatel4548 3 года назад
Sir aap Docker ka tutorial banao. Docker ke bare main information chahiye.
@nitinjha3718
@nitinjha3718 3 года назад
Hi Cookie is not coming on browser in react
@atozerp
@atozerp 2 года назад
Really superb video. Thanks
@akashprajapati4443
@akashprajapati4443 3 года назад
1st heart bhi 1st mangta hai❤️🔥
@akashprajapati4443
@akashprajapati4443 3 года назад
Shukriya 😁
@rushabhkhope
@rushabhkhope 2 года назад
plz make video on payment getway
@nontechbg
@nontechbg 2 года назад
Today is 26 9 2022
@umairsaleem4345
@umairsaleem4345 3 года назад
Please make some big project
@jayeshkhairnar4292
@jayeshkhairnar4292 3 года назад
Is it safe to store a JWT in localStorage or cookies. pls reply
@trushnahedaoo2247
@trushnahedaoo2247 3 года назад
Hi, if you get solution for this can you please share your advise on this? I don't want to store token in local storage
@Trisulamindia
@Trisulamindia Год назад
Yrr aap guru ho
@rajuraj1257
@rajuraj1257 3 года назад
Really superb video. Thanks 🙏🙏
@nontechbg
@nontechbg 2 года назад
Thank you ❣️
@muthu890
@muthu890 3 года назад
Thanks for the video 👍☺️
@DeepShahmusic
@DeepShahmusic 3 года назад
Sir cookie store nahi ho pa Raha ....can you please help?
@JitneKiSanak
@JitneKiSanak 2 года назад
bro how did u get the code for login form for which he was asking money in some previous video
@DeepakKumar-dw1re
@DeepakKumar-dw1re Год назад
@@JitneKiSanak just copy and paste the code of login page of any website or bootstrap
@muhammadrizwan9049
@muhammadrizwan9049 2 года назад
7:12
@arshadjuj
@arshadjuj 3 года назад
Awesome Sir G
@gauravranka3924
@gauravranka3924 2 года назад
cookie is not defined error
@JitneKiSanak
@JitneKiSanak 2 года назад
bro how did u get the code for login form for which he was asking money in some previous video
@ayushkushwaha171
@ayushkushwaha171 3 года назад
Awesome Video!
Далее
pumpkins #shorts
00:39
Просмотров 10 млн
Brilliant Budget-Friendly Tips for Car Painting!
00:28
What is JWT token and JWT vs Sessions
26:12
Просмотров 73 тыс.
JWT Authentication Tutorial - Node.js
27:36
Просмотров 1 млн
How to Debug Cookies When They Don't Work
11:53
Просмотров 12 тыс.