The ultimate NestJS Authentication guide

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

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

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

    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!

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

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

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

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

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

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

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

      Thank you for the kind words and the support 💜

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

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

  • @amaury_permer
    @amaury_permer 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +1

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

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

    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.

  • @mohannadal-musa2494
    @mohannadal-musa2494 13 ชั่วโมงที่ผ่านมา

    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

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

    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  2 หลายเดือนก่อน

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

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

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

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

      @@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 15 วันที่ผ่านมา

      @@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

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

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

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

      @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 หลายเดือนก่อน +1

      @@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.

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

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

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

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

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

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

  • @markjones6894
    @markjones6894 3 หลายเดือนก่อน +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.

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

    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.

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

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

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

      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 หลายเดือนก่อน

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

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

    This is the best tutorial of authentication, thx!!

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

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

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

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

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

    Very good tutorial! Thanks.

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

    Great video! Thank you!

  • @luizjrrd
    @luizjrrd 13 วันที่ผ่านมา

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

    • @TechVisionExplained
      @TechVisionExplained  12 วันที่ผ่านมา +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 🤞

  • @galaxyy2536
    @galaxyy2536 22 วันที่ผ่านมา

    THANKYOU!

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

    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 🎉😅

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

    clean video nice editing skill and also informative keep uploading

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

      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 :)

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

    Very useful ! 🙏🏼

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

    You’ve got a great smile 😬

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

    Thanks bro

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

    Thanks! U great

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

    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  3 หลายเดือนก่อน +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

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

    How a great tutorial!!!

  • @cyruschen8662
    @cyruschen8662 27 วันที่ผ่านมา

    Can we have the github link to these code please?

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

    thanks, a lot

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

    Nice tutorial