A Trick For Enabling Global Auth In NestJS

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

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

  • @TsillALevi
    @TsillALevi 3 месяца назад +1

    Always waiting for new videos.

    • @SakuraDev
      @SakuraDev  3 месяца назад

      Thank you so much for your support! I'm excited to keep creating and sharing new content. Stay tuned, and if you have any more suggestions or topics you'd like to see covered, feel free to let me know! 🚀😊

  • @andrejkling3886
    @andrejkling3886 3 месяца назад +1

    Thank you so much for such amazing explanations .... ❤

    • @SakuraDev
      @SakuraDev  3 месяца назад +1

      That's awesome! It's great to have such a supportive and engaged viewer. 😊

  • @andredrumond379
    @andredrumond379 Месяц назад

    Really good video. Thank you

    • @SakuraDev
      @SakuraDev  Месяц назад

      Thank you so much 🙏😊

  • @ajndlajjnl4175
    @ajndlajjnl4175 2 месяца назад

    Hello bro am just close to finish the course it is very valuable and we dive so many topics. Want to move to the client side dev.. what do u recommend to learn for frontend with nestjs dunno what library/framework to choose

    • @SakuraDev
      @SakuraDev  2 месяца назад

      Hi, it's really great to learn nestjs. For the frontend I would choose react and NextJS.

  • @techiesakar
    @techiesakar 2 месяца назад

    Global Auth Guard is preventing me to access Refresh Controller.
    Can't make it public though, what should do ?

    • @SakuraDev
      @SakuraDev  2 месяца назад

      If you have @public with your refresh Token API, it should not be blocked

  • @ratasobreviviendoenlascloa4847
    @ratasobreviviendoenlascloa4847 Месяц назад

    The RoleGuard is executed first, followed by the JwtAuthGuard because the RoleGuard is passed as a callback to the JwtAuthGuard. This means that the JwtAuthGuard is executed after the RoleGuard. is it? .-.

    • @SakuraDev
      @SakuraDev  Месяц назад +3

      Actually, The JWT guard runs first and then Role Guard runs. if RoleGuard runs first, we don't have access to the user object in request body. So, jwt guard runs first and append the user object in request object, so then in role guard ,we can extract the user from request and get its role. Thanks for your comment ❤️🙏.

  • @NathanielBabalola
    @NathanielBabalola Месяц назад

    Do you have a course for cookies ?

    • @SakuraDev
      @SakuraDev  Месяц назад +1

      I should add it to this playlist

  • @apdiwhapmohmet4458
    @apdiwhapmohmet4458 3 месяца назад

    Soo nice,
    File uplouding
    Google or facebook login
    If you have time and its possible please consider this feutures

    • @SakuraDev
      @SakuraDev  3 месяца назад +1

      Hi, All of them will be covered. Next Video is for Google Login

    • @apdiwhapmohmet4458
      @apdiwhapmohmet4458 3 месяца назад

      @@SakuraDev woooow i don’t know what i would say
      But thank you

    • @SakuraDev
      @SakuraDev  3 месяца назад

      @@apdiwhapmohmet4458 🙏🙏