Blazor and JWT Refresh Tokens

Поділитися
Вставка
  • Опубліковано 14 вер 2023
  • We've seen how refresh tokens work on the server, but how do we send them from the browser?
    Source code available at: github.com/JasperKent/Blazor-...
    Server code available at: github.com/JasperKent/WebApi-...
    Topics include:
    - Storing the refresh token
    - Revoking the refresh token on logout
    - Refreshing the JSON Web Token with the refresh token
    - Resending the request with a new JWT
  • Наука та технологія

КОМЕНТАРІ • 17

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  8 місяців тому +1

    Anything more you want on authentication? Let me know in the comments.
    Source code available at: github.com/JasperKent/Blazor-Wasm-Authentication
    Server code available at: github.com/JasperKent/WebApi-Authentication
    Remember to subscribe at ua-cam.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

  • @BM-jy6cb
    @BM-jy6cb 26 днів тому +1

    These tutorials deserve 10 times more views than they currently have. Always clear and concise with no waffle. Many thanks, Jasper!

  • @ManiasInc
    @ManiasInc 2 місяці тому +1

    Hi! This tutorial is fantastic!
    The explanation is so clear and thorough.
    It's great to finally see someone explain the front-end circuit with the refresh token.
    Thank you so much!!👏🎉👍🤩
    greetings from Argentina!

  • @alexandrohdez3982
    @alexandrohdez3982 7 місяців тому +2

    Thank youuuu

  • @mahdi4581
    @mahdi4581 8 місяців тому +1

    very good. Thanks.

  • @10Totti
    @10Totti 8 місяців тому +1

    Best Tutorial !

  • @rockycaballero5676
    @rockycaballero5676 4 місяці тому +1

    Thank you for a Very nice tutorial, hope you will also make video of Blazor autorender mode authentication in .net 8 sir. hats off and have a blessed day :-)

  • @legion4929
    @legion4929 8 місяців тому +1

    do we get to OAuth2 as well? that subject is pretty complicated i would like to see your point of view MR Kent

  • @sauravbhatta5303
    @sauravbhatta5303 8 місяців тому +1

    What’s next on the queue? I wish u go over the implementation of a project using Kafka, redis and elastic service

  • @user-wd4fc7gm1z
    @user-wd4fc7gm1z 5 місяців тому

    @4:44 You use _factory.CreateClient yet the controller's /refresh is not protected because the factory client is not authenticated yet until the refresh is completed. Also during the refresh, @10:53, other simultaneous _factory calls don't get any data because _refreshing is true. How do I make those other simultaneous calls pending until the refresh is complete?

    • @user-wd4fc7gm1z
      @user-wd4fc7gm1z 5 місяців тому

      FYI, the pending seems to be solved by using SemaphoreSlim when _refreshing logic is true.

  • @JohnSmith-yr7ih
    @JohnSmith-yr7ih 2 місяці тому +1

    how can i update the password or remove the account (registration)? please make a tutorial about it

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  2 місяці тому +2

      I'll put it on the list.

    • @JohnSmith-yr7ih
      @JohnSmith-yr7ih 2 місяці тому

      can you please make a tutorial of aspNet web api + Blazor webassembly (not a BlazorApp or Blazor server templates) Identity auth tutotial?