The ultimate NestJS Authentication guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น •

  • @franciscomartinez2664
    @franciscomartinez2664 4 วันที่ผ่านมา

    you just made me a senior dev. Putting NestJS on my resume ASAP!!

  • @almightyDrinTV
    @almightyDrinTV 3 หลายเดือนก่อน +9

    There's a bunch of videos out there on how to setup authentication and authorization in Nestjs, but man this explains smoothly! Thanks for an awesome video!

  • @ghostza1209
    @ghostza1209 3 หลายเดือนก่อน +2

    I can't stop watching your content-many videos are well-explained in just ~30 minutes. You'll reach 100k subscribers soon!

    • @TechVisionExplained
      @TechVisionExplained  3 หลายเดือนก่อน

      Thank you for the kind words and the support 💜

  • @nicolascuor2378
    @nicolascuor2378 4 หลายเดือนก่อน +1

    Too few visualizations and comments for a really useful video like that. It deserves more! Thank you.

  • @aaronjablonski
    @aaronjablonski 7 วันที่ผ่านมา

    Awesome video! Really clear and well paced. Thank you!

  • @mattz_zeref
    @mattz_zeref 5 หลายเดือนก่อน +6

    in my work using nest js, but i'm not really know nest js , just copy the code that already there, but this make it clear, thanks man

    • @TechVisionExplained
      @TechVisionExplained  5 หลายเดือนก่อน

      Really glad it helped, thanks for the comment really appreciate it 💜

    • @eduardojavier9577
      @eduardojavier9577 4 หลายเดือนก่อน

      share information about how to get a work the same way you get it 😎

    • @mattz_zeref
      @mattz_zeref 2 หลายเดือนก่อน

      @@eduardojavier9577 I just apply to any works available and got in as FRONTEND Dev,but after a year suddenly i moved to another project but now i have to be BACKEND, same JavaScript but another frameworks that i not familiar with, so a lot of time i just copy another code and modified it a little bit

    • @mattz_zeref
      @mattz_zeref 2 หลายเดือนก่อน

      @@eduardojavier9577 i just apply to any work that i get from internet, i got in as a FE at first year, then get transfer to another team but as BE and using NestJs, maybe cuz it javascript, at first i just copy code i mean i'm not familiar with this framework, that why i search video about it and see this video

  • @blu_ey
    @blu_ey 4 หลายเดือนก่อน +7

    man your videos are awesome and that smile is so contagious, thank you so much!

  • @hackmedia7755
    @hackmedia7755 3 หลายเดือนก่อน

    Thanks for your tutorial on guards. I made my own decorator I can apply to any module and selectively limit access for users.
    I set permissions to a token like "videos" or "content". Depending on what is attached to a specific token, it limits user access. You saved me a lot of time with the guard decorators. Thank you.

  • @HarrisRana-g1l
    @HarrisRana-g1l 4 หลายเดือนก่อน +4

    please create a complete series on nestjs from basic to advance and also cover the sequelized orm

  • @seanjcan
    @seanjcan 2 หลายเดือนก่อน

    Your videos are very well done. Looking forward to more content.

  • @xthefrancisxify
    @xthefrancisxify หลายเดือนก่อน

    Great video! YOur channel is really helping me in my journey!

  • @amaury_permer
    @amaury_permer 5 หลายเดือนก่อน +1

    Man, first video I watch from your channel and you have such a great content, keep it up, you deserve to grow here

    • @TechVisionExplained
      @TechVisionExplained  5 หลายเดือนก่อน +1

      Thanks a lot @amaury_permer. This really means a lot to me to know that you are enjoying the content on this channel

  • @Vee-9902
    @Vee-9902 4 หลายเดือนก่อน +3

    When are you dropping your NestJS course? It would be great to have an intermediate-to-senior level course! 🔥

    • @TechVisionExplained
      @TechVisionExplained  4 หลายเดือนก่อน +5

      @vutlharimhlongo4476 I'm working on it and I can't wait to publish it. it's going to be 🔥💪
      By the way is there any particular area or topic that you find particularly challenging in NestJS?

    • @Love-roblox-everytime
      @Love-roblox-everytime 3 หลายเดือนก่อน +4

      @@TechVisionExplained That'd be. TypeORM relations, Microservices inter communication (user service to booking service to fetch user's booking info), Messages queues, Containerization, CI/CD for microservices, Authentication in Gateway microservices model and where to validate authentication and drop requests.

    • @andregeraldo6556
      @andregeraldo6556 14 วันที่ผ่านมา

      @@TechVisionExplained I think organizing the project in general in my case, when should we put a clean arch in the project? what are best ways to make e2e testing in nestjs?

  • @markjones6894
    @markjones6894 5 หลายเดือนก่อน +1

    Is it possible to make a tutorial on how to integrate NestJS with supabase for Auth ? Or how to connect nextjs with NestJS and supabase ? That would be awesome! Keep up the awesome work.

  • @takeshiiixD
    @takeshiiixD หลายเดือนก่อน

    Awesome content! Thanks a lot for making it!

  • @PsychoDude
    @PsychoDude 4 หลายเดือนก่อน

    Please do beginner to advanced full course with each topic. Use mock data so people use whatever they want as db. include guards, custom pipes, tips along the way.

  • @jsantamv
    @jsantamv หลายเดือนก่อน

    Gracias por tu tiempo y explicarnos, saludos desde Costa Rica.

  • @mohannadal-musa2494
    @mohannadal-musa2494 2 หลายเดือนก่อน

    Thank you for your content , it is amazing so far one comment is you could built a token service where u verify and generate accessToken/refreshToken ...etc

  • @iUmerFarooq
    @iUmerFarooq 5 หลายเดือนก่อน +1

    Implement it with database and also do authorization and 2fa as well.
    Thank you 💚

  • @milesrykerodazie171
    @milesrykerodazie171 3 หลายเดือนก่อน

    your videos are so valuable, thank you so much.what are your thoughts about cookies auth?

    • @TechVisionExplained
      @TechVisionExplained  3 หลายเดือนก่อน

      I really don't like to answer "It depends", but it does 😅. You are not the first one to ask so I'll be covering the different types of auth with pros and cons in a video.

    • @milesrykerodazie171
      @milesrykerodazie171 3 หลายเดือนก่อน

      @@TechVisionExplained thank you so much, I really appreciate you.much respect

  • @toluwanimiadeyemo8099
    @toluwanimiadeyemo8099 2 หลายเดือนก่อน

    Do you have a nest js full course?

    • @TechVisionExplained
      @TechVisionExplained  หลายเดือนก่อน +1

      Not yet...
      If you're subscribed to my newsletter, I'll make some announcement there, I'm working a some project that you might love if you use NestJS 😉

  • @amirehsandavoodi7418
    @amirehsandavoodi7418 16 วันที่ผ่านมา

    Thanks useful tutorial. Can you please share the github repo for the code of this tutorial?

  • @luizjrrd
    @luizjrrd 2 หลายเดือนก่อน

    How did you start a new Nest app without tests? There's no "--no-spec" option in "nest new".

    • @TechVisionExplained
      @TechVisionExplained  2 หลายเดือนก่อน +1

      With the default CLI command you always get the test file indeed.
      I create so much tutorials these days that I wrote my own script to remove all the boiler plate and only keep the root module. I might share the script in a community post If I get some time 🤞

  • @MG-wx8yx
    @MG-wx8yx 5 หลายเดือนก่อน

    Great work bro, keep it up we will push you there.

  • @suelitonsantos2763
    @suelitonsantos2763 4 หลายเดือนก่อน

    This is the best tutorial of authentication, thx!!

  • @almedinhodzic3747
    @almedinhodzic3747 3 หลายเดือนก่อน

    Good job man, really good video. Nestjs course coming soon? 😊🎉

    • @TechVisionExplained
      @TechVisionExplained  3 หลายเดือนก่อน +2

      Working on it, aiming to release something huge before the end of 2024 💪

  • @omarsalah4252
    @omarsalah4252 5 หลายเดือนก่อน

    clean video nice editing skill and also informative keep uploading

    • @TechVisionExplained
      @TechVisionExplained  5 หลายเดือนก่อน

      Thank you so much @omarsalah4252 for showing your support, it means a lot to me.
      I've been enjoying making these videos, and I have a lot more coming :)

  • @spamcolector
    @spamcolector 5 หลายเดือนก่อน

    Beginner question: is it safe to send the password in a request?
    Is it possible to catch that package in the middle?
    I know the hash is used for it, but
    implementing a hash on the client side and sending it to compare hashes on the server side sounds the same. Will it be safe? How to make bulletproof secure auth?

    • @TechVisionExplained
      @TechVisionExplained  5 หลายเดือนก่อน +4

      Hello @spamcolector
      TLDR;
      If you use HTTPS then it's safe. Is it "bulletproof"; No
      Every auth solutions has downsides and risks associated. Most of the time you would choose a solution based on the risk, effort and requirement of your product. There are many solutions to choose from and some of them don't even involve a password. For example Magic links. But that would mean sending emails to users handling links expiration etc... Is the added complexity worth it?
      If you use HTTPs there isn't really a point hashing the password on the client side, because the data transferred is encrypted anyway. The reason why you don't want to store the password in clear is to prevent anyone with access to the database to have access to the user password and you don't want that password to also appear in logs and other code traces.
      hope that answers your question

  • @omega.developer
    @omega.developer 4 หลายเดือนก่อน

    We are validating the username, password as part of login api using nest js, but this is not entirely fullfiliing the complete backend login api btw. Can you make the video that completely give registration, login together with mongodb or postgresql, so that i will get the full confidence with the nestjs auth flow. It would be better if you make this video this month or next month 🎉😅

  • @mihajlosupic
    @mihajlosupic 7 วันที่ผ่านมา

    "Because we won't be writing any tests in this app" 👁👄👁. 😂

    • @TechVisionExplained
      @TechVisionExplained  6 วันที่ผ่านมา

      not writing tests is a sign of high self confidence 🤣

  • @cyruschen8662
    @cyruschen8662 3 หลายเดือนก่อน

    Can we have the github link to these code please?

  • @johnnyferreira6121
    @johnnyferreira6121 3 หลายเดือนก่อน

    Very good tutorial! Thanks.

  • @ajalasegun1
    @ajalasegun1 6 หลายเดือนก่อน +1

    You’ve got a great smile 😬

  • @joaopaulocarvalho9592
    @joaopaulocarvalho9592 4 หลายเดือนก่อน +1

    Great video! Thank you!

  • @KhalidKhan-xq5xp
    @KhalidKhan-xq5xp 26 วันที่ผ่านมา

    pls provide github links

  • @zMerlin
    @zMerlin 4 หลายเดือนก่อน

    Very useful ! 🙏🏼

  • @raidertm1653
    @raidertm1653 17 วันที่ผ่านมา

    The legend

  • @galaxyy2536
    @galaxyy2536 2 หลายเดือนก่อน

    THANKYOU!

  • @RafaelGuzman-gk1hi
    @RafaelGuzman-gk1hi 4 หลายเดือนก่อน +1

    Thanks bro

  • @nguyendat7402
    @nguyendat7402 5 หลายเดือนก่อน

    How a great tutorial!!!

  • @RicardoLuizPinto
    @RicardoLuizPinto 3 หลายเดือนก่อน

    Thanks! U great

  • @abdullah.alhabal
    @abdullah.alhabal 5 หลายเดือนก่อน

    thanks, a lot

  • @EnCoder86
    @EnCoder86 5 หลายเดือนก่อน

    Nice tutorial