Authentication of Express Node js Applications

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 62

  • @tigladd
    @tigladd 8 лет назад +1

    This was a very usefull tutorial. Not only I learned about passport, but also I could finally understand some node coding I was not getting right.
    Thanks! You have a new follower!

  • @AlexOzun
    @AlexOzun 10 лет назад +1

    The best passport tutorial that I've seen so far!

  • @rtiong
    @rtiong 9 лет назад +4

    best tutorial on passport i've seen! cheers for taking the time!

  • @munapadhi8723
    @munapadhi8723 8 лет назад

    first of thanks so much.one of the best tuts for ever me. i learned so much passport and nodejs , express.

  • @loubichard6357
    @loubichard6357 10 лет назад

    Wow, thankyou so much! Sometimes you need a little more than the official documents. With all these libraries out there it's not fun trying to work out what's going on and how to fix resolve bugs so was good to get such a great insight! Thankyou very much, now to round off my authentication!

  • @wcchuo9998
    @wcchuo9998 8 лет назад

    Awesome demo! Easy to understand, great explanation.

  • @andrewblair7478
    @andrewblair7478 10 лет назад +2

    DevelopMentor1 Hey, just wanted to say that you are really good at screencasts. There are a ton of pretty good tutorials on the net by skilled developers but this was a stand-out video because of how clearly you articulated it and progressed through it. Do you take notes and have a script to follow? I was very impressed by how you didn't flip around too fast and barely made any mistakes! It was a fast way to learn this module. And now, I know Kung Fu. Thank you!

  • @like_nobody
    @like_nobody 9 лет назад

    Wonderful, thank you! This video is better than Passport's vague documentation which doesn't mention which part is done by Passport and which part shall be done by you. For example, after reading the documentation, I thought the serialization and deserialization is done by Passport automatically. Very useful video, especially the part on sessions. I appreciate it!

  • @alkoxy
    @alkoxy 10 лет назад

    great tutorial. I figure there are a few minor code tweaks here and there due to the updated version available now but fairly easy to get around. I'm having a strange issue though. Around 31:05, once we have setup the basic user authentication system, my server does not seem to respond to the browser requests. The browser just keeps saying waiting for 127.0.0.1. Anybody else having this issue? any possible workaround?

  • @sreid70
    @sreid70 10 лет назад

    Great tutorial! Exactly what I needed in my app.

  • @augre-app
    @augre-app 10 лет назад

    hey which sublime theme are u using?

  • @speargrowth
    @speargrowth 7 лет назад

    Help please.
    followed till 31:04
    then got an error:
    ..
    ode_modules\passport\lib\authenticator.js:52
    name = strategy.name;
    TypeError: Cannot read property 'name' of undefined at Authenticator.use (..
    ode_modules\passport\lib\authenticator.js:52:20)

  • @KiranRoy
    @KiranRoy 9 лет назад +1

    At video 37.32 , I added the node 1st callback parameter as null
    passport.serializeUser(function(user, done){
    done(null, user.id);
    });
    passport.deserializeUser(function(id, done){
    done(null, { id: id, name: id });
    });
    Previous it was showing only the username without the 'Hello'. Now it s showing only 'Hello', not displaying the username.
    But still the Username is not showing !!! And in the console there is no error also in network. What I'm missing ???

  • @glauberbrennon
    @glauberbrennon 10 лет назад +1

    why do u have to serialize and deserialize the user?

  • @saras_arya
    @saras_arya 9 лет назад +5

    If you could use angular here with node.js It would make a great tutorials as lot of us don't using swig/jade/ejs as view engine.

  • @josepaulo5275
    @josepaulo5275 8 лет назад +1

    I get a bad request and no a serialize error :( I don't know what happens

  • @mattbram8993
    @mattbram8993 9 лет назад

    Great video! Do you know if Passport can deal with NONCE negotiations?

  • @TheGargalon
    @TheGargalon 9 лет назад

    If I have a single-page AngularJS app and users authenticate with social strategies, and that app makes a bunch of API calls to my REST API service, how should I secure these API calls? Should I use HTTP strategy for all api.domain.com/ calls?

  • @shekharreddy5716
    @shekharreddy5716 8 лет назад

    could you update the link for the code in the desc or in comments

  • @ZheXianLee
    @ZheXianLee 10 лет назад

    Thanks! This tutorial is really helpful :)

  • @awboobear1992
    @awboobear1992 8 лет назад

    Thank you for making this video! Can we have access to the demo code and slides?

  • @ChristopheFerauge
    @ChristopheFerauge 8 лет назад +1

    Very nice and detailed tutorial. Thank you very much :-)

  • @paulosullivan7334
    @paulosullivan7334 10 лет назад

    Great tutorial - I'm looking forward to more on Node.js. :-)

  • @rwoz
    @rwoz 10 лет назад

    You mention some times how one shouldn't use cookies in this and that situation, e.g. if it's about machine clients talking to APIs. Do you have a good source to read which talk a bit deeper about best practices when it comes to what authentication methods to use in what situations? Would appreciate it. Great tutorial btw!

  • @thrash1337
    @thrash1337 9 лет назад

    Great tutorial, thank you!

  • @zachkonon1549
    @zachkonon1549 9 лет назад

    I got this working, i was wondering if anyone knew of a tutorial that would help me learn the database part that he did not cover. I have a basic idea on how to do it but i haven't been successful and i think a tutorial would really help. Thanks!
    (at about 28:00)

    • @zine9845
      @zine9845 9 лет назад +2

      +Zach Konon hey this can help if you want it with mysql database
      yifeed.com/passportjs-mysql-expressjs-authentication.html

    • @zachkonon1549
      @zachkonon1549 9 лет назад

      Thank you! This is just the type of thing i am looking for.

  • @futbotism
    @futbotism 10 лет назад

    great tutorial, really helpful.

  • @markbtw7987
    @markbtw7987 10 лет назад

    Super helpful, thank you very much for doing this.

  • @ludmilgrigorov2527
    @ludmilgrigorov2527 9 лет назад

    this was super useful :D thank you

  • @jankaras5142
    @jankaras5142 8 лет назад

    With version 3 of Express not work (problem with request "bad request"). You must have version 4 of express. Excuse me for my English :-)

  • @RogerioAlencarFilho
    @RogerioAlencarFilho 10 лет назад

    thanks, helped me alot!
    the next, mongoose and uses multiple logins

  • @suckyboy
    @suckyboy 9 лет назад +1

    Thank you so much for the effort!!!

  • @varandz
    @varandz 10 лет назад

    Please do a similar tutorial on mongoose and passport together using redis. Thanks so much

  • @soultouchingsongs
    @soultouchingsongs 7 лет назад

    Thank you very much. Very nice tutorial.

  • @mrchillshimself
    @mrchillshimself 8 лет назад

    Great tutorial.

  • @guilhermemordente4363
    @guilhermemordente4363 10 лет назад

    Awesome! Thanks for sharing this =)

  • @tchezieres
    @tchezieres 10 лет назад +1

    Hi everyone ! thank you for this tutorial ! I am sending you all a message because I got an error when i do the 'post' when I log in : the login page is becoming totally white and it is write 'unauthorized' on the top-left corner of the web page, can anyone help me ? thank you bye !

  • @HipHopNorthwest
    @HipHopNorthwest 10 лет назад

    Great video!

  • @ehguacho2008
    @ehguacho2008 8 лет назад

    amazing bro, you're awesome! thnx a lot :D

  • @vimnikyluo6824
    @vimnikyluo6824 8 лет назад

    very clear ! Thanks !

  • @traphan8827
    @traphan8827 10 лет назад +1

    Please give out your slice and source code. I follow each single step of this tutorials but isAuthenticated variable away == false..???.
    I have no idea why...:(

    • @junchenzhu7390
      @junchenzhu7390 10 лет назад

      try isAuthenticated : false
      I believe this is the solution

    • @CHIchangching
      @CHIchangching 9 лет назад +1

      Tra Phan hey would you be able to solve your issue? isAuthenticated is always false to me too. i would like to see what happened?
      updated: i think i understood why now..the body-paser, cookier-parser,expressSession in app.use order was not right. expressSession has to be the last one. what a stupid mistake..

    • @junchenzhu7390
      @junchenzhu7390 9 лет назад

      ChangChing Chi
      which part of this video brings int isAuthenticated?

  • @mbasemusic
    @mbasemusic 8 лет назад

    Very helpful, thanks!

  • @rawn9911
    @rawn9911 9 лет назад

    how find this vid is! thank you so much for making a nice tutorial!

  • @PeterUnger
    @PeterUnger 10 лет назад

    Thank you!

  • @williamxsp
    @williamxsp 10 лет назад +1

    Thanks!

  • @nileshbhujbal7489
    @nileshbhujbal7489 8 лет назад

    Next time do it wth bigger font size of your editor...

  • @shekharreddy5716
    @shekharreddy5716 8 лет назад +1

    source code: github.com/maghidini/passport-demo

  • @alpheusmadsen8485
    @alpheusmadsen8485 Год назад

    "aoeu"? Son of a gun, he uses Dvorak! ;-)

  • @joshuaerondu
    @joshuaerondu 7 лет назад

    Your name is json

  • @levonazbekyan2860
    @levonazbekyan2860 8 лет назад

    Thanks
    AM AM ARMENIA

  • @AndresFelipeClavijoTrochez
    @AndresFelipeClavijoTrochez 8 лет назад +1

    so great tutorial, tks so much... if someone want the same example with the database part (MongoDB) here is a github repo github.com/epileftro85/Express-API/tree/api-created

  • @sketchytimeywimey1756
    @sketchytimeywimey1756 9 лет назад

    I like his sister, Jayda.

  • @ronnelocampo3614
    @ronnelocampo3614 8 лет назад

    Thank you!

  • @josephhunt3443
    @josephhunt3443 10 лет назад

    Thanks!