Jwt Authentication in blazor | Role based authorization in blazor webassembly

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

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

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

    A great Tutorial!

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

    Hello, excellent tutorial. How do you implement the Refresh Token so the user does not have to login every time. Thanks !

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

    How do you create a custom login screen using the same jwt code that you have here?

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

      Sorry I don't understand, what custom login screen means?
      Isn't that custom login screen?
      Are you trying to say that a login screen that doesn't contain this layout and remain separate. Login screen displays first, without any layout, then we will move further.

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

      If you are asking what I've mentioned in previous comment then its the solution replace your MainLayout.razor page with this



      About
      Logout

      @Body

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

      @@ravindradevrani Yes, sorry, busy with coaching soccer and life. I will try to learn more and I guess, this would require a custom layout , I am trying to use AdminLTE bootstrap template. Thanks for the quick response and I apologize for not responding sooner.

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

      Thats absolutely fine, why to feel sorry.
      I even forgot the context of the reply..now i got it after reading the whole thread.
      Custom layouts like admin lte is a good option

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

      I haven't used blazor since that time, it was a kind of experimental for me, trying to see what it offers. Right now i totally forgot the syntaxes of blazor.
      Because these days i use angular and .net core apis most of the time.