NestJS Authentication + Refresh Token With Passport.js

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 27

  • @mguay
    @mguay  5 місяців тому +3

    Get access to the full lecture which includes connecting a Next.js UI & applying our JWT/Refresh authentication + Google OAuth: michaelguay.dev/

    • @bestelectrocity
      @bestelectrocity 4 місяці тому

      Hey Michael, thanks for the video, where I can find the courses about Next.js UI & applying our JWT/Refresh authentication + Google OAuth and is it NestJs GraphQL ?

  • @oletrn
    @oletrn 9 днів тому

    55:33 - the cookie actually expires in the year 2079, because the setMilliseconds() method adds the entire timestamp (in milliseconds since the Unix epoch) to the current date, instead of adding the offset.

    • @mguay
      @mguay  9 днів тому +1

      @@oletrn That is one long cookie!
      Thanks for this knowledge, I’ll pin this comment to let others know

  • @sunnysetia
    @sunnysetia 5 місяців тому +2

    Great video, please do more NestJs videos!

  • @belkocik
    @belkocik 5 місяців тому

    I've been waiting for this video. Thank you :)

  • @zlatkoiliev8927
    @zlatkoiliev8927 3 місяці тому +1

    Really awesome tutorial. Can you please make one course where we combine all stuff together and build real world API, production ready. It can combine user auth with roles and permissions, include the social providers for login as well, and maybe some payments and subscriptions with stripe. Also if you can make it with microservices architecture that would be great. I really want to see how everything works together.

  • @fahimshahriyer4480
    @fahimshahriyer4480 3 місяці тому +1

    This is one of the feartures should come built-in with this kind of framework similar to Laravel.

  • @markjones6894
    @markjones6894 5 місяців тому

    Great video, Show us how we can connect it to nextjs !

  • @HishmathDeen
    @HishmathDeen 4 місяці тому

    Hi Michael. Thanks for your contents ❤. Could you please do a video about distributed tracing in nest js micro services backend??

  • @valerio-9137
    @valerio-9137 5 місяців тому

    great content! how is it consumed from a frontend with angular i only saved the token in the localstorage

  • @bordigxidul6625
    @bordigxidul6625 4 місяці тому

    Hie. One question : how can i change the exception sens in case or refresh-token is expire, if i want another exeption launch ?

  • @blueyZee
    @blueyZee 25 днів тому

    i tried the same steps with typeorm and mysql db and it's not working😩😩

  • @LawrenceChege
    @LawrenceChege 5 місяців тому

    How can I do the same for multiple users or include roles for the user?

  • @Mr_MicDaniel
    @Mr_MicDaniel 5 місяців тому

    Can you extend this video to use Username/password, Google and GitHub authentication with Prisma

  • @alaamekki2820
    @alaamekki2820 3 місяці тому

    what is your vs code theme please ?

  • @AjayCoding
    @AjayCoding 5 місяців тому

    great! very helpful

  • @userinconnu2852
    @userinconnu2852 3 місяці тому

    how to access this additional course in a single payment and not via a subscription? because I don't trust subscriptions. will this be added to udemy or is there a way to have a single payment to access it on the site.

    • @mguay
      @mguay  3 місяці тому

      Once the course is complete it will be available for single purchase on my site & Udemy. For early access a subscription is required.

  • @iq240-1
    @iq240-1 5 місяців тому

    awesome!

  • @EhteshamShahzad
    @EhteshamShahzad 5 місяців тому +1

    You can implement this without passportjs.

    • @tnp03
      @tnp03 5 місяців тому +1

      Yeah but that cost time and money to reinvent

    • @EhteshamShahzad
      @EhteshamShahzad 5 місяців тому

      ​@@tnp03no. It's very easy.
      NestJS' official authentication course covers it.

    • @dmsnm
      @dmsnm 4 місяці тому +3

      you can also write web server in Node JS without any framework 🙂

  • @RiadDZz
    @RiadDZz 19 годин тому

    1 hour for auth is so unproductive, that's why i prefer working with Laravel,
    too bad my company is using javascript exclusively