.NET 8 Angular Authentication with Identity and Refresh Tokens

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 10

  • @TuCominek
    @TuCominek 4 місяці тому

    Thanks for the video Remik, nothing is unlcear after watching your toutrial, keep good work

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

      I’m very glad to hear that ❤️

    • @daniel49245
      @daniel49245 4 місяці тому

      How can you suppress the 401 error in browser console

    • @remigiuszzalewski
      @remigiuszzalewski  4 місяці тому

      ⁠@@daniel49245you can take a look at the description, it’s unfortunately not possible

  • @Vishnubhandarge1
    @Vishnubhandarge1 11 днів тому +1

    Can you make more projects of .net 8. ?

    • @remigiuszzalewski
      @remigiuszzalewski  11 днів тому

      Of course, in the future I will create more videos related to building .net 8 projects 😁

  • @kinax2
    @kinax2 4 місяці тому

    Thanks a lot,, I think you should add role based video as well as part 2

    • @remigiuszzalewski
      @remigiuszzalewski  4 місяці тому

      I'm glad that you've liked the video 😁one of the upcoming videos will cover that topic

  • @juandiegogoezdurango6994
    @juandiegogoezdurango6994 3 місяці тому

    Greate!, But how can I read user data after login in front? like user id, to use with other endpoint

    • @remigiuszzalewski
      @remigiuszzalewski  3 місяці тому +1

      You can receive that information from the ClaimsPrincipal in authorized endpoint in your API. In that case you will get userId and for instance e-mail of the user directly from claims and you don’t even need the userId in frontend side. API will get that information when user calling this endpoint with Bearer access token will be successfully authenticated 😀