Login System with Passport

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

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

  • @pyoppyo
    @pyoppyo 4 года назад +1

    감동해서 유튜브 댓글 처음 달아봅니다. John Ahn님 영상 많이 봤는데, 항상 알기 쉽게 개념을 그려서 설명해주시는 게 참 대단한 것 같아요. 덕분에 passport.js도 쉽게 이해할 수 있었습니다! 감사합니다 :)

    • @johnahn.
      @johnahn.  4 года назад

      너무 좋게 얘기해주셔서 감사합니다 !!! ㅎㅎㅎ 앞으로도 더 좋은 영상 올릴게요 감사해요 !! ㅎㅎㅎ

  • @yomziiblack3776
    @yomziiblack3776 4 года назад +2

    Glad to have you back again..

    • @johnahn.
      @johnahn.  4 года назад

      thank you so much for your comment !! really

  • @징도박사
    @징도박사 3 года назад

    토큰강의 듣다가 passport 방식이 있다길래 따로 해보고 있었는데 이미 영어로 강의가 있었네요! 잘보고갑니다!! 항상 좋은 강의 감사드려요

  • @ManishaSharma-mo5hu
    @ManishaSharma-mo5hu 4 года назад

    So much happy seeing you posting video again.. Thank you so much !!

    • @johnahn.
      @johnahn.  4 года назад +1

      really really thank you for your comment !!!

  • @vikrantgupta7896
    @vikrantgupta7896 4 года назад +1

    Good to see your video again

    • @johnahn.
      @johnahn.  4 года назад +1

      thank you sir for comment it is touching so much !

  • @miguelrodrigues4719
    @miguelrodrigues4719 4 года назад

    glad you are back, greets from Portugal :)

    • @johnahn.
      @johnahn.  4 года назад

      glad to see you too ! thank you so much !

  • @saaluissaka8941
    @saaluissaka8941 4 года назад

    Happy seeing your video, greetings from Ghana

    • @johnahn.
      @johnahn.  4 года назад

      Thank you buddy ^^ !!!!

  • @ahlambeyoud1709
    @ahlambeyoud1709 4 года назад

    Great video as usual, thank you for your amazing tutorials, and glad to see you upload a new video 😊💚

    • @johnahn.
      @johnahn.  4 года назад

      oh !! Thank you so much for your kind conment Thank you ^^

  • @demawobass
    @demawobass 4 года назад +1

    Hi John Ahn . Thanks a lot for this tutorial , Do you have something with Admin dashboard , where the Admin can perform CRUD to products and ..RUD to users?

    • @johnahn.
      @johnahn.  4 года назад +1

      Ah It is also good to deal with Admin part !

  • @rohitkadu4089
    @rohitkadu4089 3 года назад

    Great video.
    Exactly what I needed

  • @thearduousalchemist2804
    @thearduousalchemist2804 4 года назад

    Thank you so much Mr. Ahn, I know I requested a video tutorial for Passport a while back. Many thanks. Hope you are doing well.

    • @johnahn.
      @johnahn.  4 года назад

      Hello John !! Always thank you for your kind comments . I also hope you are doing well !!!

  • @unchart_d
    @unchart_d 4 года назад +1

    Yes yes yes yes yes yes yes yes yes yes yes yes yes. Thanks for coming back mate, are you good?

    • @johnahn.
      @johnahn.  4 года назад +1

      Thank you so much for your comment ! I am good right now ! I will upload videos more often ! Thank you sincerely !!

  • @유수정-v5q
    @유수정-v5q 4 года назад

    잘보고 있습니다! 늘 감사합니다

    • @johnahn.
      @johnahn.  4 года назад +1

      수정님 진심으로 감사드립니다 많은 도움이 되었으면 좋겠네요 !!!

  • @Zygfryd_z_Toussaint
    @Zygfryd_z_Toussaint 4 года назад

    I'M WRITING BEFORE WATCHING THIS
    Hello John! I've spotted some problems with your mern-boiler-plate which I tried to handle with.
    First, you don't check what data the user enters when logging in and registering. I used @hapi/joi to validate it.
    Second, your token field in User model is just a string. When someone tries to login onto from other client his token will be overwritten and he will get logout from previous client. I changed a bit User model, generateToken method and auth middleware so token is an array of strings field now, each token has signed date of expires in it and auth middleware is mapping throughout the req.cookies.x_auth, verifing each and compare date to current time and pushing only valid token (something like if(new Date(verifiedToken.expires).getTime() > now.getTime()) ) to verifiedToken array.
    Third, as I remember you don't actually send lastname info from React client to server so all of users lack their lastname (it's just a typo).
    Fourthly, your remeber me email doesn't work. I repaired it too.
    and few less issue issues I changed (like replacing callbacks to Promises in user controllers and adding asyncErrorHandler middleware and other less important stuff).
    I like and learned a lot from your videos and I was waiting for new one to comment about this.

  • @kunheelim881
    @kunheelim881 4 года назад

    강의 잘보고 있습니다. 영어는 생각보다 힘드네요 ㅎㅎ

  • @villagelifemahilakisanguj482
    @villagelifemahilakisanguj482 4 года назад

    Very nice video મારા વિડીયો સપોર્ટ કરજો ભાઈ