Web API token based authentication example C# step by step | Asp.Net Core

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

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

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

    well explained, thx so much.

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

      Thanks for the feedback. Please subscribe to the channel if you have not subscribed yet. Thanks

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

    Very Good sir. Thank You

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

      Please go to my channel page and see all the video TITLEs. If you feel they are helpful to you, please subscribe to the channel. Thanks.

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

    Thank you for this video...Very helpful

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

    Fantasic Video!

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

      Thanks for the feedback. Please subscribe to the channel if you have not subscribed yet.

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

    Nice tutorial. Thanks a lot.

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

      Thanks for the feedback. Please subscribe to the channel if you have not subscribed yet.

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

    Thanks ❤❤❤❤

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

      Thanks for your feedback. Please subscribe to the channel if you have not subscribed yet.

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

    👍👍 this is really helpful

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

    Excellent Sir Please explained What changes have done when use ASP.net core 6.0 without Entity Framework.

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

      sure. will create a video soon. Please subscribe to the channel if you have not subscribed yet. This channel have videos on Azure too which you may not find in any other channels 😀. Please checkout them as well. Thank you.

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

      Sir please upload it fast☺️

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

    Excellent video !

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

      Thank you. There are more videos out there in the channel which includes Azure AD Authentication for both Web App and Web API, also practical examples for azure storage account. Please check it out and also subscribe to my channel.🙂

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

      @@azureteachnet This video is important to understand how to implement WebAPi token for in premise using, and without to use "heavy tank" solution or remote solution like Azure, or other.

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

    Excellent Explaination!!...Could you cover Refresh token as well as Authentication & authorization without Identity?

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

      sure. Please subscribe to the channel if you have not subscribed yet. Thanks.

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

      My next two videos will be on JWT and Refresh tokens. Hoping to post them in 2-3 days. Thanks.

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

      @Tech Related Just now I have posted a video on Refresh Tokens with good scenarios. .By the end of the weekend I will post .Net core refresh token Video. Please check -ruclips.net/video/4y0sg9omQ5E/видео.html

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

      Today I have uploaded video on Refresh Tokens and clearly explained the concept. This video has both JWT and Refresh Tokens. Also it has a bit of swagger and EF core. Please watch - ruclips.net/video/8ni7Xg_UxBs/видео.html

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

    Do you have a video or an example on how to consume a rest api with token in c#?

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

      Thanks for asking the question. I realized that I mostly focused on the api side and not on the client side. I will post a video soon.

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

    Excellent Video. Could you please share the gits repo URL of the demo and can you implement the same demo using Azure AD authentication and validate the Issuer and audience.

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

      Here is Azure AD Video for Asp.net core - ruclips.net/video/S_xDAB_s-GM/видео.html . Video for Azure AD With Web API - ruclips.net/video/pS1hER46PQI/видео.html .
      Azure AD Authentication with Certificates - ruclips.net/video/LNJKd6zPQAo/видео.html . If you are implementing WebAPI tokens,You need not explicitly validate them. It will be done automatically. Only thing is, when you are creating the token, you have to pass those details. For Azure, It will be done automatically as Azure Creates the token.

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

    Wonderful Video. Please can you make the source code available for download so that we can learn from it on our local machines. Thank you

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

      Here is the source code - github.com/AzureTeachNet/AzureTeachTutorials/tree/JwtTokens%26RefreshTokens . This has both Jwt Tokens and Refresh Tokens. Here is video link - ruclips.net/video/8ni7Xg_UxBs/видео.html

  • @kanhag2801
    @kanhag2801 8 месяцев назад

    from where we can get the JWT key?

    • @azureteachnet
      @azureteachnet  7 месяцев назад

      you can use a certificate content as a key, you can use a random text as a key. It all depends on the level of complexity and security you want to provide to your application. In one of our projects we have used an azure app registration secret as a key.

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

    Can you post code base to for reference

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

      Sure. Will let you once after adding this code to a git repo. Thank you. I am working on a refresh token demo too and hoping to post it in a day or two. Please subscribe to the channel if you have not subscribed yet.

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

      Can you try to implement this using identity server with ef core

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

      @@rama5453 sure.

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

      Please ping your email Id. I will forward the project.

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

      Can you pls ping me your email, I am not able to add email as comments

  • @SunilDas-xs4hs
    @SunilDas-xs4hs 2 года назад

    Hi nice video i, i tried the same on my system and i am getting one error. Please share me if you have any email ID.

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

      can you take the code from repo and check - github.com/AzureTeachNet/AzureTeachTutorials/tree/JwtTokens%26RefreshTokens . It is not the same code but it has more. Both JWT and Refresh tokens.