ASP.NET Core JWT Authentication and role-based authorization

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

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

  • @vinaysoni4363
    @vinaysoni4363 Год назад +2

    This is the amazing explanation regarding Api authentication and authorisation process along with real action demonstration.
    I really appreciate your efforts to make this concept easy to understand and digest. ❤️

    • @juliocasal
      @juliocasal  Год назад +1

      Glad it was helpful, Vinay!

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

    Finally a video where I understood the concept! Thanks

  • @Kibinas
    @Kibinas Год назад +1

    Great tutorial, I appreciate simplicity and you deliver quality content without any cumbersome code

  • @praveenverma7470
    @praveenverma7470 4 месяца назад +1

    Great tutorial, learned a new way to test the API without switching to postman, swagger or using curl. 🙂

  • @cristinaandreani2410
    @cristinaandreani2410 3 дня назад +1

    Thanks again! great as always!

  • @EldonElledge
    @EldonElledge Год назад +2

    This was very well done and great content. I would like to call out that, it is best practice to use a Reference Token for communicating from the UI to an API, in place of a jwt token. Jwt tokens are still a valid choice to use between services.

  • @RaWMajkeL
    @RaWMajkeL 2 месяца назад +1

    Thing of beauty, thanks for the video

    • @juliocasal
      @juliocasal  2 месяца назад +1

      Glad you enjoyed it

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

      @@juliocasal maybe something about modular architecture in the future? 👀

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

      @@RaWMajkeL Modular architecture?

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

      @@juliocasal I meant modular monolith pattern

  • @rohitnaiksawal6925
    @rohitnaiksawal6925 5 месяцев назад

    You are simply Awesome Julio! Thank you for your efforts....

  • @abdurrehman-bx1yo
    @abdurrehman-bx1yo 11 месяцев назад +1

    Thanks, very much helpful 👌

  • @messenja2547
    @messenja2547 Год назад

    Love ur explanation Julio, thanks for sharing

  • @sidisidahmed755
    @sidisidahmed755 Год назад

    Thank you

  • @abdurrehman-bx1yo
    @abdurrehman-bx1yo 9 месяцев назад +1

    Hi, I Have a question. If we do not want to call RequireAuthorization on a endpoint (I just want the user to be authenticated for a specific endpoint and no other things needed like role etc.), it's not even validating the token. I mean, if token is not there it still returns result. What is happening here, could you please explain.

    • @juliocasal
      @juliocasal  9 месяцев назад

      Without the RequireAuthorization call you basically have an anonymous endpoint. Call RequireAuthorization with no parameters instead.

  • @testtest-c4z
    @testtest-c4z Год назад +1

    What is the difference between Claim and Signature? what does each one reference?

    • @juliocasal
      @juliocasal  Год назад

      Claims are the pieces of information being asserted about a subject (the user, typically). The signature is used to verify that the sender of the JWT is who it says it is and to ensure that the message wasn't changed along the way.

  • @flash7919
    @flash7919 4 месяца назад

    Thank you for this great tutorial
    How I can generate a code and make register page and login

    • @juliocasal
      @juliocasal  4 месяца назад +1

      dotnet new blazor -au Individual

    • @flash7919
      @flash7919 4 месяца назад

      @@juliocasal I wanna make a webapi and for front-end I wanna use reactjs
      how I can make this mix

  • @awaisshabir9169
    @awaisshabir9169 Год назад

    Great content

  • @geraldsonperez6287
    @geraldsonperez6287 Год назад

    How would I generate token for the users of my API with this package?

    • @juliocasal
      @juliocasal  Год назад

      Geraldson, generating tokens for real users involves introducing an identity provider, either built by yourself or already built for you. I cover that in my .NET microservices program, here: dotnetmicroservices.com/building-microservices-with-dotnet

  • @TranTien-kx2mj
    @TranTien-kx2mj Месяц назад

    Bro should apply this into your Microservice course 🥲🥲

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

      New .NET Bootcamp coming soon!