Secure Your ASP.NET Web API with Token Authentication

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

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

  • @CAPS_AMERICA
    @CAPS_AMERICA 3 года назад

    Really happy to have found your videos, thanks for that! Your teaching and coding style is easy to understand, keep it coming! Although I don't like EF and my employer required all EF usage to be removed in our product, I still appreciate the details you have put it to include EF and put together this amazing tutorial. Thanks

  • @nldcarbonfiber206
    @nldcarbonfiber206 3 года назад

    You're amazing dude, you helped me out big time, thank you!

  • @kevinmungame1869
    @kevinmungame1869 3 года назад

    Good stuff

  • @aryagustiana101
    @aryagustiana101 3 года назад +1

    Thank You Sir!

  • @AmadasChannel
    @AmadasChannel 2 года назад

    very nice please make more useful videos

  • @zedmagdy
    @zedmagdy 3 года назад

    Keep up the good work

  • @2005Azm
    @2005Azm 3 года назад

    Wonderful

  • @imikhan83
    @imikhan83 3 года назад

    Thank you, this video helped a lot

  • @haizzengunn9350
    @haizzengunn9350 3 года назад

    nice vid

  • @Jad.abouzaki
    @Jad.abouzaki 2 года назад

    Thank you

  • @KristijanStosic
    @KristijanStosic 2 года назад

    Can you add register user to this api so new user can be add in identity user table? I tried myself and I somehow managed to add user to identity user table but after i tried to login with new user, to get the token, it says Unauthorized?

  • @ezandaz
    @ezandaz 3 года назад

    Hello thanks for your videos!
    So I am building a forum site. I've built an API similar to this so when you hit login endpoint you get a token. I also have another project in a separate solution that is an asp net web app where I will have the actual website and show the info that I get from the API depending on authorization. Soo when I recieve my token after the http request to my api, how should I Store and and use jwt token in my other requests? I am very new to programming and I just get more and more lost, been searching for a long time and this is something I just can't understand. So if anyone can explain I would appreciate this so much!!

  • @miladyanpi
    @miladyanpi 3 года назад

    Sorry, it is possible to fix this error
    The seed entity for entity type 'IdentityUser' cannot be added because no value was provided for the required property 'AccessFailedCount'.

  • @adnanyangilic6380
    @adnanyangilic6380 3 года назад

    Pat, I tried your github repo project in my VS but postman returned unauthorized for correct credentials from https api url and not returned any response for post to http api url . Is it because https http difference? Any idea how to solve?

    • @TechWithPat
      @TechWithPat  3 года назад

      when requesting the auth token, make sure you use the username , not the email.

  • @manzoorahmedagharia5777
    @manzoorahmedagharia5777 3 года назад

    Hi,i generated token generated from your videos in .net core api project of mine and tried to pass from angular.when i check in developer mode of google it was passing properly butstill it was throwing unauthorised error

    • @TechWithPat
      @TechWithPat  3 года назад

      I have updated the readme file in the github repo, have a look to see if you don't miss something. github.com/techwithpat/SneakerAPI