How to secure Web API in .NET Core using JWT Token

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

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

  • @cutelittlebirdie789
    @cutelittlebirdie789 2 года назад +1

    You're a good teacher. This is educational. Thank you.

  • @murlid05
    @murlid05 2 года назад +1

    Thanks for this video, just completed first JWT auth application with help of your video.
    😀😀

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

    This is the best JWT AUTH explanation
    Thanks your r my best instructor

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

      Thank you for your kind words. Smash that red Subscribe button to stay updated with more videos like this!

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

    Now that was fantastic. Detailed implementation 👍

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

    Thanks a lot , Very very useful video ............ just i am searching now....

  • @YOUTUBE_IS_WOKE
    @YOUTUBE_IS_WOKE 2 года назад +1

    Very good, clear, detailed explanation and very simple to implement, thanks!

  • @raom8008
    @raom8008 2 года назад +1

    Thanks for helpful viedos

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

    Very well step by step explained. I am clear now. Good work

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

      Thank you. Please subscribe to support the channel and hot the Bell icon to stay notified of new content. 👍😄

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

    Thanks for the info, very helpful

  • @codysheridan8713
    @codysheridan8713 3 года назад +2

    Excellent video. The explanation was clear and worked well!

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

    Janab u have given best tutorial

  • @theITvideos
    @theITvideos  4 года назад +1

    Watch the video til the end to understand how to secure Web API in .NET Core using JWT Token

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

      Hello, I have a web API with jwtbearer config in startup.cs, and a controller action method with Authorize attribute. When client makes request to this endpoint of API, it does try to authorize, but how to get email and other info of the user explicitly in this api controller to further call database SPs?

  • @RahulKumar-tf3cx
    @RahulKumar-tf3cx 2 года назад +1

    Great explanation, thanks!

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

    Great video. Very well explained. Thanks!

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

    Thanks! very clear and the point explanation!

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

      Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍

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

    Good explanation

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

    Thank you for this informative video! Not your fault, but that's a lot of grunt work and overhead for something that should be simple. I wish they come up with a better way.

  • @priyakamble3182
    @priyakamble3182 3 года назад +2

    It helps me alot.. Thank you

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

    Great video, Thanks alot!

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

      Liked the video? Please subscribe to support the channel and hit the Bell icon to not miss the new content 👍

  • @anilyadav-yv6uk
    @anilyadav-yv6uk 2 года назад

    Best explained one question you are using postman and add token in header but if I want to use it from wpf client tahn how to send token request with each and every get and post request and where to store token detail in wpf app
    Thanks

  • @ivankranjec8113
    @ivankranjec8113 4 года назад +1

    You explained this very well, thank you!

    • @theITvideos
      @theITvideos  4 года назад +1

      Thank you Ivan. Please subscribe to support the channel 🙏

  • @amirsaleem4935
    @amirsaleem4935 3 года назад +2

    with the Jwt token authorization, can we validate multiple client apps or it is light weight and can be good for single web app vs single api? Cosiderting OAuth when just using JWT token authorization make sense? .

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

      You can validate multiple clients, you have to have valid issuer and audience

  • @nathan655
    @nathan655 2 года назад +1

    Thank you sir

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

    In the Payload why do I need to add user name and the Id. Why should I keep them in another database? What I am trying to understand is what is the purpose of it, since the token going to get signed if the client is authorized but not to authenticate. My understanding is that the authenticate part should take care of the user name or any other user related information.

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

    Im not sure I understand in payload the name and email and those 2 urls localhost? what if my apis are in azure what would I put? And we put anything in name and email?!?

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

    Excellent

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

    Can we enable multiple payloads ex: to enable API to be consumed by multiple applications ?

  • @shashank.maheshwari
    @shashank.maheshwari 2 года назад

    here we did it in single solution but ideally where exactly will we create jwt token and how we will pass the token while calling api within code ?

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

    Thanks for great video kindly make a video on refresh token in jwt

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

      Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍

  • @huferry
    @huferry 3 года назад +3

    Thanks... but can you share the source?

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

    Great video but how do I invalidate the jwt token when a user logs out

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

    How can we do same this using oAuth 2.0? I want this in App Registration.

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

    from where should we copy the pasted code?

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

    please provide code that you have pasted

  • @amanichanga3448
    @amanichanga3448 4 года назад

    Hi, where to get the source codes so we can also paste

    • @problemchild959
      @problemchild959 4 года назад

      the point of him pasting code was to shorten the video not for us viewers to do the same. no offense but typing it in is how we learn it, just copy/pasting all the time we learn nothing (been down that road myself) its already over 30 minutes long, if he would have typed in everything it would probably be over an hour which is a waste of resources and creator time. thats why RUclips has the pause button

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

    every things is understood but code is not there

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

    Great explanation, thanks!

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

      Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍