Understanding Authentication in Node.js - Sessions and Cookies - Web Development Concepts Explained

  Рет қаралды 137,653

The Full Stack Junkie

The Full Stack Junkie

3 жыл бұрын

Understanding Authentication using Cookies and Sessions is a very important topic to understand in web development. I will be using Node.js and Express and MongoDB to build a very basic example of login and register.
In this video I try my best to explain the basic workings of how this process of sessions and cookies work together to make it possible to authenticate users in you website.
I hope you enjoy the video and if you did don't forget to like and subscribe and then I will see ya'll in the next one....🤓
Express-Session Docs:
www.npmjs.com/package/express...
Connect-MongoDB-Session Docs:
www.npmjs.com/package/connect...
If you want to know how To implement Authentication when building a RESTfull API go check out my video on this.
My personal website
=================
www.thefullstackjunkie.com

Пікірлер: 286
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
GitHub Repo for the project code in the video 🤓: github.com/LloydJanseVanRensburg/Authentication_Node_Sessions_Cookies Hope you liked this video. In the next authentication video I will be handling authentication from a API using JWT check it out in the web development concepts explained playlist! Have a great day peace out...
@engespress
@engespress 3 жыл бұрын
Good tutorial. Thanks!
@elyasarkin0991
@elyasarkin0991 Жыл бұрын
Awesome and clean tutorial thank you
@emilejuniorada6670
@emilejuniorada6670 3 жыл бұрын
48hours. I've been struggling to understand those sessions things for 48 hours, making my ways through bunch of tutorials, and you just saved me. more follower
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
So glad it helped!🤓🤘
@jesusenriqueperez5307
@jesusenriqueperez5307 3 жыл бұрын
I've watched many videos about express-session and you are the first person that explains what is that cookie's purpose. Thank you
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks so much very glad it helped champ
@sameerswankar
@sameerswankar 5 ай бұрын
what happens when i open two tabs and login from different account on each of them, will the cookie gets overwritten ? How will that work
@muhammadjunaid3684
@muhammadjunaid3684 3 жыл бұрын
What an amazing tutorial! I couldn't learn about sessions without this tutorial. Really love that 😍😍😍
@xanderav
@xanderav 2 жыл бұрын
As others have said I also watched many videos about this but this is THE BEST, it's just so clean, straightforward, it's amazing, thanks!
@Abhisheky418
@Abhisheky418 3 жыл бұрын
This was so clean , precise and to the point just loved it. thankyou for making this.
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
So glad it was helpful thanks for the comment
@claudiovitordantas2348
@claudiovitordantas2348 3 жыл бұрын
man, this is the best video on how to do a simple authentication on nodejs! congrats!!
@slimshady9733
@slimshady9733 3 жыл бұрын
Arguably the best video on login session .. tried many places but this is the only place I truly understood
@unessss
@unessss 3 жыл бұрын
I highly recommend this video to beginners... He explained EVERY line and word and code as simple as they could be... wish he covered the OAuth tho (like google login or other authenticating platforms )
@jamaScript
@jamaScript 3 жыл бұрын
Crystal clear. Thanks for this episode.
@felakos1568
@felakos1568 2 жыл бұрын
Very useful lesson and accessible presentation. Congratulations, you surpassed the whole Internet. Thank you sir.
@blackpeep984
@blackpeep984 Жыл бұрын
Holy shit bro this gotta be the best, easiest and most straightforward tutorial on sessions. Thank you very much!
@niteeshmahato1596
@niteeshmahato1596 Жыл бұрын
Very clean and to the point explanation. Loved it!
@__peanut__butter28
@__peanut__butter28 3 жыл бұрын
this video simplified the cookie session, thanks a lot live more!
@walideker2253
@walideker2253 4 ай бұрын
bruh tysm i hve been strugling over 2 weeks only ur video did it tysm
@harrisonvijay8897
@harrisonvijay8897 3 жыл бұрын
Thanks a lot for this video. It helped me, a beginner, understand cookies and sessions. Keep on posting!
@hand-somepaws9285
@hand-somepaws9285 2 жыл бұрын
Perfectly explained. More information given. This is the best video I ever searched for.
@florin1335
@florin1335 3 жыл бұрын
Bro, I watched a few tutorials on this topic but yours was the best.
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
I am very glad to hear this! Thanks so much for this comment
@dilmurod9820
@dilmurod9820 3 жыл бұрын
Best Teacher i have ever seen in programming on youtube respect
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks so much really appreciate
@franciscosalazar8116
@franciscosalazar8116 Жыл бұрын
Wow, this video is amazing!!!!!Thanks so much it wouldn't have been possible to understand this without your video!!! I could deploy my app finally thanks to you!!!
@user-fw7ho5pj2i
@user-fw7ho5pj2i 2 жыл бұрын
Yes I agree. Very good explanation. I watched many videos, only this made my work finished
@GeraltOfArabia
@GeraltOfArabia 2 жыл бұрын
A well structured video. Thank you for explaining how cookies function.
@harshad1704
@harshad1704 3 жыл бұрын
one of the clear video on the express session very very thank you Junkie
@blank2782
@blank2782 3 жыл бұрын
Amazing, clearly explained everything. Thankyou so much for this video.
@TommyMN
@TommyMN 8 ай бұрын
Thank you so much, I was searching the web for a good understanding of these subjects and you explained them very well my friend!
@hassanumar2111
@hassanumar2111 2 ай бұрын
Man this is great been wanting to learn about this for a while!
@huetemaier2499
@huetemaier2499 3 жыл бұрын
You made it very easy to understand! TY!
@nagato6819
@nagato6819 2 жыл бұрын
omg!! finally, I found a good video about authentication, thank you for this great explanation
@ivantrachuk3736
@ivantrachuk3736 Жыл бұрын
Omg dude, thank you so much, it's so clear and easy to understand!
@mohdshoaib7622
@mohdshoaib7622 Жыл бұрын
Best video on express session authentication.
@sidheart8905
@sidheart8905 Жыл бұрын
thank you very great and informative video... people are just tend to sue lot of addons or libraries , but from your video we can understand basic fundalmentals of authentication in nodejs using simple cookies and a database.
@medinatechalgeria1064
@medinatechalgeria1064 Жыл бұрын
thank you thank you thank you !!! the best video un found about express-session i found on youtube !
@iganic7574
@iganic7574 9 ай бұрын
This is surely the easiest video about authontication 😍. Thanks bro your are amazing
@sameerswankar
@sameerswankar 5 ай бұрын
what happens when i open two tabs and login from different account on each of them, will the cookie gets overwritten ? How will that work
@manishbhardwaj4587
@manishbhardwaj4587 4 ай бұрын
love it, thank you Teacher!
@brysonmrivera9153
@brysonmrivera9153 2 жыл бұрын
Definitely wish I clicked this video first aha. This is exactly what I needed to help me understand what is going on with sessions. Great stuff!!
@facundoloto1514
@facundoloto1514 3 жыл бұрын
this video help me understand the seccions and the cookies of login and logout,after hours and days search ,thanks so much
@turtleanimationstudio8070
@turtleanimationstudio8070 9 ай бұрын
Love your lessons ,thanks alot
@tekken1935
@tekken1935 3 жыл бұрын
Great job, very easy to understand and follow along
@Eddie4k
@Eddie4k 2 жыл бұрын
Wow best video I have found tbh on this topic
@duggie3026
@duggie3026 2 жыл бұрын
Thank you so much for the video. Your video helped me so much with the login and logout section.
@xosound5938
@xosound5938 3 жыл бұрын
Nice tutorial man!!! You really explained everything so well. Thanks 😊
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks for comment champ hope to keep making content that helps
@jamiroquaiordie
@jamiroquaiordie Жыл бұрын
thank you, finally understood how this works
@pankajmishra3559
@pankajmishra3559 3 жыл бұрын
i love your teaching style. thanks
@VijayTamada
@VijayTamada 10 ай бұрын
Nice & to the point! Great!!
@ManeelxAkosAdor
@ManeelxAkosAdor 3 жыл бұрын
outstanding tutorial man, thanks so much I learned a lot
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks for the comment, glad you found it helpful 💪
@quanduong3390
@quanduong3390 2 жыл бұрын
Thank you so much for making this. You explained it well. Thank you
@adeyemodavidsunday7140
@adeyemodavidsunday7140 7 ай бұрын
Thank you so much for this wonderful piece I have been looking for a simplified authentication tutorial for so long but could not get one. I was able to follow your steps to implement AUTH using PostgreSQL database. Thanks a million times.
@abeercodes
@abeercodes Жыл бұрын
why the hell haven't I watched your vids. you made it crystal clear
@balajeemishra
@balajeemishra 2 жыл бұрын
Thank you sir. It was very useful. Today I understood what cookies actually do.
@kevingardner2236
@kevingardner2236 Жыл бұрын
Learn by doing this! Posted from command line great video
@kevingardner2236
@kevingardner2236 Жыл бұрын
Learn by doing this! Great Vid
@kevinwilliams6070
@kevinwilliams6070 2 жыл бұрын
Thank you so much. You explained this really well.
@GaBlack-wo9vx
@GaBlack-wo9vx 2 ай бұрын
This video is really helpful, thank you so much
@SanjuKumar-ye8xz
@SanjuKumar-ye8xz 2 жыл бұрын
Very simply explanation. Thank dude☺️☺️☺️
@indianafootballer3257
@indianafootballer3257 3 жыл бұрын
thank you... so understandable.. best taught ❤️❤️
@rules654
@rules654 2 жыл бұрын
great work made, helped in my project.
@VaibhavC-co1bi
@VaibhavC-co1bi 2 ай бұрын
thank you man your lecture really helped me solving my issue
@mohammadhossein9230
@mohammadhossein9230 2 жыл бұрын
This video was so helpful for me, thanks a lot
@0xyz
@0xyz 2 жыл бұрын
Great Video, Thanks for this
@GameDownloader112
@GameDownloader112 3 жыл бұрын
in 30min you explained better than teachers in 3 hour
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks champ, let me know of any topics you want explained and I will see what I can do
@PradeepKumar-fh2vs
@PradeepKumar-fh2vs 2 жыл бұрын
I have watched many videos but did not get clear picture of how the session is working. your video has cleared my lots of doubts, Thanks for such a wonderful tutorial.
@AmanRaj-ho5qh
@AmanRaj-ho5qh Жыл бұрын
The explanation is very clear
@carlsagan9808
@carlsagan9808 Жыл бұрын
Great sessions tutorial!
@vipinr8473
@vipinr8473 10 ай бұрын
Thankyou for giving this wonderfull class thankyou so much
@mohamadabdeen6906
@mohamadabdeen6906 7 ай бұрын
great video ,thanks very much
@stuff3704
@stuff3704 Жыл бұрын
thank you, great explanation
@mohammedjoubba318
@mohammedjoubba318 2 жыл бұрын
thank you , awesome explanation
@bariswheel
@bariswheel 2 жыл бұрын
I hope yo continue to make these videos, you have a gift!
@the_full_stack_junkie
@the_full_stack_junkie 2 жыл бұрын
Thanks champ
@magdyismail946
@magdyismail946 Жыл бұрын
Thank you This was very useful for me
@nicogarcia7302
@nicogarcia7302 3 жыл бұрын
Soo good, your tutorials are lit mate💯, subscribed !!
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks so much
@ashfaquemamdu4582
@ashfaquemamdu4582 2 жыл бұрын
Thanks man it was helpful
@RMBK243
@RMBK243 Ай бұрын
amazing very helpful thanks
@laturchasanket6901
@laturchasanket6901 3 жыл бұрын
Absolute gem!
@akinwekomitemitope4748
@akinwekomitemitope4748 11 ай бұрын
this is soooo simplified. its like some authentication and authorization courses🥰🥰🥰🥰🥰
@the_full_stack_junkie
@the_full_stack_junkie 11 ай бұрын
So glad you found it helpful 🤓
@adeyemodavidsunday7140
@adeyemodavidsunday7140 7 ай бұрын
Thank you so much for this wonderful piece I have been looking for a simplified authentication tutorial for so long but could not get one. I was able to follow your steps to implement AUTH using PostgreSQL database. Thanks a million times.
@PIXYBoy79
@PIXYBoy79 3 жыл бұрын
Nice tuts my South African friend. I like the context you provide. Keep it going
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks champ🇿🇦🤓
@Tae91
@Tae91 10 ай бұрын
Excellent!
@ravipayasi6875
@ravipayasi6875 Жыл бұрын
Amazing explanation, liked and subbed
@fatimaarshad8100
@fatimaarshad8100 Жыл бұрын
I'm really thankful that you solve my problem I was stuck like from 2 days and I don't get it why my session and passport auth not working. Your method of teaching is more calm and understandable. I'm really thankful to you
@the_full_stack_junkie
@the_full_stack_junkie Жыл бұрын
Thanks for kind words 🙏
@GustavoSilva-hh8or
@GustavoSilva-hh8or Жыл бұрын
I don't speak English, but thanks. You saved my life. I was looking for a tutorial for weeks and none of them helped me...
@gamer-tech7568
@gamer-tech7568 2 жыл бұрын
Thanks very much your explanation was very clear and I understood very well , continue like this
@vikram87in
@vikram87in 2 жыл бұрын
great video... thanks 😍
@supriyasingh9818
@supriyasingh9818 2 жыл бұрын
Its really good and straightforward video.
@ataayyldz6942
@ataayyldz6942 5 ай бұрын
Very nice solid content thanks a lot
@yehudahimelfarb5935
@yehudahimelfarb5935 2 жыл бұрын
wow...excelent explication !!! 👏
@ayomichaels1204
@ayomichaels1204 Жыл бұрын
This is super helpful
@serenliceackeric9732
@serenliceackeric9732 Жыл бұрын
Best explanation !! thank u so much
@the_full_stack_junkie
@the_full_stack_junkie Жыл бұрын
You are welcome! Glad it was helpful.
@evan_n6136
@evan_n6136 Жыл бұрын
great video, nice work
@codefork94
@codefork94 Жыл бұрын
Dude!!!! I finally get it!!!!
@drupalguy
@drupalguy 2 жыл бұрын
Good tutorial. Thank you
@rajesht9694
@rajesht9694 Жыл бұрын
Wonderful demo
@souravvashisht7153
@souravvashisht7153 2 жыл бұрын
Thank you very Much.
@sukhmanpreetsinghsandhub2042
@sukhmanpreetsinghsandhub2042 Жыл бұрын
Awesome video🙌
@vishalkumar-th4gz
@vishalkumar-th4gz 2 жыл бұрын
very nicely explained helped a lot
@HiHelloHi
@HiHelloHi 3 жыл бұрын
Great tutorial. Very concise
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Thanks very much
@nimahashemi7673
@nimahashemi7673 3 жыл бұрын
thank you bro! the best tutorial for auth
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Hey man thanks for the positive words🤘
@danielEpifanov
@danielEpifanov 2 жыл бұрын
wow, amazing content
@giddyvibes-0423
@giddyvibes-0423 8 ай бұрын
Am the type that really found it hard to understand but this video is solid Gold
@iamsanketdesai
@iamsanketdesai 3 жыл бұрын
Great content, thank you so much.
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
Awesome glad you liked it💪🤓
@theunusual4566
@theunusual4566 3 жыл бұрын
Thank you !
@baronihamadani6625
@baronihamadani6625 3 жыл бұрын
Thank you bro. :) Great tutorial
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
All good champ💪🤓
Cookies, Sessions, JSON Web Tokens (JWT) and More 🍪🔐
46:41
LearnWebCode
Рет қаралды 103 М.
Session Authentication in Express
40:43
Code Realm
Рет қаралды 145 М.
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 13 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 84 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 58 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 2,8 МЛН
JavaScript Cookies vs Local Storage vs Session Storage
14:28
Web Dev Simplified
Рет қаралды 729 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 587 М.
Node.js Passport Login System Tutorial
36:28
Web Dev Simplified
Рет қаралды 1 МЛН
Your complete guide to understanding the express-session library
25:50
Full Stack Zach
Рет қаралды 77 М.
How do server side authentication sessions work (express & cookies)
15:26
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 13 МЛН