Add RBAC to Your Nest.js API in ~ 7 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

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

  • @chamal661
    @chamal661 ปีที่แล้ว +8

    Can you please share the repository of these videos :) Thanks!

  • @laszlo1805
    @laszlo1805 ปีที่แล้ว +1

    Thanks for uploading this!
    I have followed the guide and noticed that auth0/express-jwt added req.auth instead of req.user.
    Also documented in the README as of v6: "The decoded JWT payload is now available as req.auth rather than req.user".

    • @OktaDev
      @OktaDev  ปีที่แล้ว +1

      Thanks for this feedback. We moved this video from another channel into this one. The video was created some years ago so the content may not align with the most up-to-date versions of packages and frameworks.
      We are working on releasing a set of new code samples for NestJS that leverage our latest libraries. We'll share a link to those code samples once they are ready. :) Stay tuned, please!

  • @ashishkumari-yg4gn
    @ashishkumari-yg4gn ปีที่แล้ว +2

    Please provide video of rbac in nestjs taking roles from database along with typeORM

    • @OktaDev
      @OktaDev  ปีที่แล้ว

      Hello. Could you please share more details on the use case that you want to see exemplified?

    • @ashishkumari-yg4gn
      @ashishkumari-yg4gn ปีที่แล้ว

      @@OktaDev I was fetching role from mongoose database while checking the roles but I am not getting role in the re.user . I have made two model - roles and user . Also I do not know , how to populate value of role in user . I am just getting the objectID . I am using TypeORM with mongoose

  • @cenacr007
    @cenacr007 ปีที่แล้ว

    can you please make a video on how to use passport-auth0 and passport-jwt to do authentication in nestjs

  • @eduardylopes3593
    @eduardylopes3593 ปีที่แล้ว +1

    could you share de repository of your dashboard?

    • @OktaDev
      @OktaDev  ปีที่แล้ว

      Howdy! We were checking in and unfortunately the dashboard app is no longer available.