JWT AUTHENTICATION In ASP NET Core with Azure AD | Getting Started With ASP.NET Core Series

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

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

  • @RahulNath
    @RahulNath  3 года назад +17

    Hope you all enjoy this video Here is the source code I used rahulpnath.visualstudio.com/DefaultCollection/RUclips%20Samples/_git/jwt-authentication
    Do drop in your comments!

    • @UPSCCSE-ku7ej
      @UPSCCSE-ku7ej 3 года назад

      U are awesome buddy ....I am also a Dot net full stack developer.
      Your video great 🙂👍

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

      Thank you heaps! Glad you like it 😀

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

      We are waiting for next video on Authorization and explicit flow.

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

      @@mdabuzar2130 Thank you. Sure will do one.

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

      Nice tutorial, but why do I'm having an invalid certificate? also if I used resource parameter, it's said it's not supported.

  • @sojans.r9025
    @sojans.r9025 2 года назад +4

    I like the fact that there is no filler in this video. To the point and precise. Subbed !

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

      Thank you Sojan! Do check out the full series, I'm sure you will like it bit.ly/asp-net-core-series

  • @SahanSerasinghe
    @SahanSerasinghe 3 года назад +4

    Thank you for taking the time to explain this! Really loved the bits you dived into to show what requests are being made under the hood.

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

      Great! Thank you Sahan. Yes, I have always felt that mysterious and never explained anywhere explicitly, which was particularly why dived in to understand a bit of the internals. Glad you particularly called that out. Made that effort paid 😀

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

    One of the best tutorials on RUclips! Thanks Rahul :)

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

      Most welcome Bhanu. Do check out the full series here ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    Very good tutorial Rahul. If you could kindly create a video with a front-end application for obtaining the token and then passing to WebAPI, it will be very useful.

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

      Glad you liked it Ananth. Sure will that's on my backlog list. Slowly catching up 😀

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

    Thanks for explaining it in the simple and best way... Keep making videos for Azure and.net core

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

      Thank you Ashish, happy you liked it and sure will make more! Do let know if you have particular topics to be covered.

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

    Rahul,
    Very good video on B2C. Great explanation of the relevant topics. Precise and concise.

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

    Perfect explanation with simple language. Easy to understand. Thanks for the information

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

      Glad it was helpful! Check out the full ASP Series here bit.ly/asp-net-core-series

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

    Hands down the best explanation on the JWT concept. Rahul - you rock!

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

      Happy to hear Manish! 😀

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

    This is an excellent tutorial to understand the Azure AD authentication system. Very clear.

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

    Great video. Would like to see a Azure B2C version and the differences. Roles/claim in the JWT token, example Admin and User roles.

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

      Great suggestion! thank you Arran

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

    Excellent video sir , i solved my issues in auth after watching your video .. thanks man 👍👍

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

      That's awesome and happy to hear. I am sure you will like the other videos in my ASP NET Series. Do check them.

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

    Really loved the article. Waiting eagerly for the other flows as well..

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

      Thank you for letting me know. Sure will add on the other flows soon! Meanwhile, you might like my other ASP Net Core videos ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    Sir, please make some videos on how to implement Azure service with .net sdks. Like storage account, Azure functions and many more.
    By the way, you are one of the best teacher available on RUclips.

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

      Thank you Abuzar! So happy that these videos are helpful. I will add these to my list and will keep them coming.

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

    Wow it's very unique content over the RUclips.

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

      Thank you and happy you like it.

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

    Rahul, Awesome. outstanding and confidence in explaining the concept and demonstrating it.

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

      Glad you like it Anjan. Do check the full ASP Series here bit.ly/asp-net-core-series

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

    Very well explained. Thank you, Rahul! Moreover, the instructor has an intonation that makes me listen/watch carefully.
    First time I haven't got distracted and watched till the end at once :)

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

      Glad you enjoyed it Anar! Do check out other videos in this series here bit.ly/asp-net-core-series
      I am sure you will like them too!

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

    It is really helpful..not only this explanation..all your videos are very helpful

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

      Thank you Moumanti !

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

    This video is totally up to the mark and straight to the point. Great work Rahul. Thanks

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

      Glad to hear that Yuvraj! Hope you are enjoying the series bit.ly/asp-net-core-series

  • @HemantSoni-Tech
    @HemantSoni-Tech 11 месяцев назад

    Hi Rahul This is gr8 understanding, Thanks., I need your help in way, like I have old application which used microsoft Identity for user management, Now My requirement is to upgrade application and bring to cloud using Azure. now I need to work on User management section using Azure AD B2B integrated, So how use existing usermanagement or completely need to create new. and What we have to do of existing Identity tables like aspnetusers,aspnetrole ectc. please suggest video where I can get help to inegrate end to end userlogin logout in webappilcation and authorization in webAPI as well I'm using .net 7.0.

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

    Thank you for making this video. did you make a video on using authorization code flow as you mentioned in the video?

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

      Unfortunately not Sanjay! That one is still pending 😀

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

    Amazing video. This is one of the best videos for .net core around oauth and openid

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

      Super happy to hear that Praduman. Do check the other videos in this series here bit.ly/asp-net-core-series

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

    Hi Rahul, great video, do you have an example using Net core 2?

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

      Glad you like it, Stas. No, I don't have any on .net core 2. Any issue you are facing? The overall flow is similar in there too, except for the libraries used.
      Also, think .NET 2 is nearing its EOL dotnet.microsoft.com/platform/support/policy/dotnet-core

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

    Nice video. Cleared my doubts around authentication and authorization.

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

      Glad to hear that - do check out the ASP Series bit.ly/asp-net-core-series

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

    Best video on AD Auth.

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

      Glad it helped. Do check out full ASP Series here bit.ly/asp-net-core-series

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

    Thank you great content ... Can u make a real time application with all the concept you talked in all video ..it will help alot ..just a suggestion

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

      Thank you Shashikant for the suggestion. It's very valid. Yes I do plan to do a real time application covering all these concepts some time. It was my original idea too. Once I cover most of the basic building blocks I'll start doing such videos. (Also it needs a lot more effort 😀)

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

    Enjoying your videos Rahul. Very nice!!! Can you please extend this video by securing Microservices through Azure API Management, Azure AD and authorizing APIs using role based access control.

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

      Great suggestion Srinivas! Thank you

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

    Great video! Thank you for taking the time to explain the concepts.

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

      Glad you enjoyed it!

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

    Hi Rahul,Thanx for sharing knowledge.
    Can you please create video on JWT authentication in .net with AWS API gateway

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

      Thank you Sameer for the feedback. Did you have any particular Identity Provider in mind? What do you use on AWS instead of Azure AD?

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

    Hi Rahul, thank you for the awesome tutorials. Your tutorials are easy to understand and has cleared my doubts.
    Could you please make a video on jwt refresh tokens and implementing it in live application. Once token generated how to store it and use it multiple times.

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

      Great suggestion Amit - Yes I have one in my list to record!

  • @camping29
    @camping29 9 месяцев назад

    Nice one!
    easy to understand but I love to see more diagrams for the explanation details. Also love to hear more about best practives for JWT auth based on your own experience @rahul

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

    Great explanation,

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

      You always smiles two times one when start video while talking about subscribe and same in the end..
      😂

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

      @@hemsingh81 Haha yeah I've noticed that too. The smile somehow disappears when I start talking code. I am otherwise cheerful. 😂

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

    Really Very helpful for understanding all concept related to JWT

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

      Thank you Jainith! You can check other videos like this in this playlist ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

  • @NaveenKumar-mr6xi
    @NaveenKumar-mr6xi 3 года назад

    i have read lot of things but this video clear alot

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

      That's nice to know. Thank you Naveen. Do check out the full series here bit.ly/asp-net-core-series

  • @ТимурГусейнов-к5м
    @ТимурГусейнов-к5м 2 года назад

    Hi, Rahul. Thanks for this video, it's really very clear explanation about Azure AD. But I have question about acquire silent token and about scopes of Microsoft Graph. How to close with authorization our resource (API's) and why do we need this scopes in Azure AD?

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

    Very detailed and great description, good work my friend.

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

      Thank you very much Raymond! Do check out the full ASP NET Series if you haven't already bit.ly/asp-net-core-series . Looking forward to see you around 😀

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

    Excellent video sire! what is the multiline vscode extension that you were using?

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

      Thank you Vikram. I use the built in VSCode feature code.visualstudio.com/docs/editor/codebasics#_multiple-selections-multicursor
      Is that what you are looking for?

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

    Hello @Rahul, could you please make a video on how to consume API which has JWT authentication?

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

      Great suggestion - yes I have that in my list! Hope you are liking the series bit.ly/asp-net-core-series

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

    Great video. I hope you do more videos about this topic

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

      Yes I have a few planned showing the various different auth flows

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

    Which is the best from AAD and OAuth ? .. Can you do a tutorial contrasting these two.

  • @kowshikkowshik6668
    @kowshikkowshik6668 18 дней назад

    Sir, thank u so much for the clear explanation

    • @RahulNath
      @RahulNath  17 дней назад

      Glad you found it useful Kowshik! Do check out the ASP Series for more bit.ly/asp-net-core-series

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

    Great video, thank you very much for the explanation! Such a good concise video, amazing!

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

      You're very welcome Sllan!

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

    Excellent Video Rahul. Very good insight on JWT.

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

      Thank you Manish. You might find the ASP NET Core Series helpful too - ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    great explanation ..............

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

      Glad you like it Shubham. Do check out my other videos in this series. You might like them!

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

    Excellent video, really excellent.

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

    Great video. Easy to understand and follow.

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

      Glad you enjoyed it! Do check out the full ASP Series here bit.ly/asp-net-core-series

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

    Very well explanation bro... All your videos are worth watching and grad the knowledge... Keep doing good work bro...

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

      thank you, happy that these are helpful!

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

    Thank you for the post. Very well done video

    • @RahulNath
      @RahulNath  Год назад +1

      Thank you! Here is the full ASP Series bit.ly/asp-net-core-series

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

    You are doing a very great job. I'm following all your videos one by one. Keep it up bro. Can you please share the Other part of Remaining Authentication and full video on authorization .

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

      Thank you and happy you liked this. Unfortunately I haven't made the second video yet. Here's the full ASP Series bit.ly/asp-net-core-series

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

    Really helpful, can you pls make a similar one for Azure Function HTTP triggered Function App, could not find any on that topic, Thanks

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

      Thank you for the suggestion Sohail. I have added it to my list, will make one. Between do checkout the other videos in this series
      ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

  • @ManojKumar-mc5cd
    @ManojKumar-mc5cd 3 года назад

    Here is your another subscriber; Really awesome explanation; Keep doing the good work;

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

      Welcome aboard Manoj! Do check out the full series bit.ly/asp-net-core-series. I am sure you will like it!

  • @UmeshKumar-ox3zp
    @UmeshKumar-ox3zp 2 года назад

    Very detailed explanation. Thank you

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

      Glad it was helpful Umesh! Do check out the full ASP NET Series bit.ly/asp-net-core-series

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

    Great Videos Rahul .. great content, to the point videos .. Thank you !!!

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

      Glad you like them! Hope you are liking the full series ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

  • @dr.amneshgoel1416
    @dr.amneshgoel1416 3 года назад

    This video deserves the move views and likes. Good job, Rahul!!

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

      Thank you Amnesh. Such positive comments are encouraging!

    • @dr.amneshgoel1416
      @dr.amneshgoel1416 3 года назад

      @@RahulNath I did a POC around DbUp as you suggested earlier on twitter. POC was awesome and everyone liked it. Looks like I'm becoming a fan of your videos. You are an Awesome Man.

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

      @@dr.amneshgoel1416 That's so good to hear and glad you liked DbUp. Do let me know if there are any particular areas you are looking for and I can try and cover them.

    • @dr.amneshgoel1416
      @dr.amneshgoel1416 3 года назад +1

      @@RahulNath I'm good for now and thanks for checking. I had tweaked the scripts folder structure to make it more cleaner like DDL, DML etc., just to separate sql scripts in different folders.
      Overall I'm good there.

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

      @@dr.amneshgoel1416 Great!

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

    Hi Rahul, Lots of learning from your videos... leaving a question for you.. What can be done if tokens are compromised?

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

      Happy you are liking it Rahul. Check out how you can revoke tokens docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-revoke-access?WT.mc_id=AZ-MVP-5003875
      Also do read about token lifetimes in general docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes?WT.mc_id=AZ-MVP-5003875
      Let me know if that answers your question.

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

      @@RahulNath Thanks Rahul :)

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

    Can you plz consume the WebAPI into the Web Application and do the same as you have done using Postman tool

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

      Great suggestion Ali. Yes, I have a video planned on that side and showing the different libraries available and how that works. Still working on it. Thank you for watching this.

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

    Wonderful explanation!!!

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

      Thank you , glad you liked it . Hope you are enjoying the ASP Series ?

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

    Hello good sir. When will you cover the authorization code flow approach? It's been two and a half years since you made this video😭

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

    Very helpful topic and thank you so much for your time.

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

      Glad it was helpful Anand!

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

    Excellent video. Are you planning to make any Authorization code flow video? :)

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

      Glad you like it Mario. Yes I do plan to make a few follow up videos around the different Authorization scenarios. Can't promise a date yet though (needs a bit more reading to be done 😀)

  • @LamLe-cl4he
    @LamLe-cl4he 3 года назад +1

    Thanks for your video, very clear!

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

      You are welcome, Lam!

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

    Thank you very much. I deeply understand jwt token. Thanks

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

      Glad to hear that. Hope you are enjoying the full series bit.ly/asp-net-core-series

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

    nice explanation Rahul
    subscribed and waiting for the video about the authorization code flow

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

      Thank you Ahmad! Yes need to start working on that video 😀

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

    wonderful job! Congrats!

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

      Thank you very much Andre!

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

    can we have the Oauth client on-prem or is should be in Azure for it to be registered in Azure AD? Thanks! ( very clear explanation )

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

      The user must have credentials to login and should be registered in AD. But can access it from any where.

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

    Rahul...you are simply Awesome

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

      Thank you Gaurav! Do check out the full series here bit.ly/asp-net-core-series

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

      @@RahulNath will go through it

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

      @@gauravparikh1205 Let me know if you have suggestions and feedback!

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

      @@RahulNath Thanks Rahul I am running with one problem getting below error in Linux docker "Windows Cryptography Next Generation (CNG) is not supported on this platform" , what is the best mechanism for Cross platform cryptography. Specially I could encrypt in angular and decrypt in C# webapi and more important should run with Docker image in LINUX

  • @surya-tl3uy
    @surya-tl3uy 2 года назад

    Thank you for the topic, which I exactly looking for!!

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

      Glad it was helpful! Do check out the full series here bit.ly/asp-net-core-series

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

    Great Video ! Still waitng for your video for the access code flow ;)

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

      Thank you Louis! Thank you for the push. I will start working on it soon!

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

    Subscribed. Very informative. Very few people use Rider though. :)

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

      Thank you Anurag. Haha yeah true. I got a free subscription and started trying it out and like it. Main advantage is how easily I can go into the implementation of framework libraries.

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

      @@RahulNath I hoped for a Community edition of Rider but it isn't available. The trial version I suppose is only valid for 30 odd days. Having said that, Rider looks very cool and rich features oriented.

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

      @@anurag3487 Yes it is great IDE. They used to have Early Access Program, but looks like it's closed now www.jetbrains.com/rider/nextversion/

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

    Great Explanation. Thank you. I have a query :- Is there any sample available for converting existing MVC Application from form authentication to Azure AD authentication

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

      Thank you Ravindra, glad you like it. I am not sure of any such sample.

  • @niteshratnaparkhe1799
    @niteshratnaparkhe1799 5 месяцев назад

    awesome explanation

    • @RahulNath
      @RahulNath  4 месяца назад

      Glad you like it Nitesh! Hope you are liking the ASP Series bit.ly/asp-net-core-series

  • @joyjk.
    @joyjk. Год назад +1

    very nice video

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

      Thanks Joy. Do check out the full series bit.ly/asp-net-core-series

    • @joyjk.
      @joyjk. Год назад

      @@RahulNath Brother could you please help me to with windows server active directory?
      Thank you

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

      @@joyjk. haven’t been doing anything with ad these days - what are you stuck with ?

    • @joyjk.
      @joyjk. Год назад

      @@RahulNath Brother, Can I mail you? Could you please give me your email? I replied several times but youtube deleted it.

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

      sure mail details in about page 👍hello@rahulpnath.com

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

    Really helpful. Thanks

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

      Glad it was helpful, Sivaramkumar!

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

    Thanks for the tutorial.One issue i am facing ..i am getting the token generated in response but the token in not validated when making get request in post .It returns 401.

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

    Excellent Video Man. Wow. Subscribed

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

      Thank you Sanjay !

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

      Are you doing another video on Authentication @Rahul?

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

      @@sanjayi6245 Nothing planned yet. What did you want to be covered?

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

    You are awesome. Great content

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

      Thank you Bruce! Do check out the full series here bit.ly/asp-net-core-series

  • @VinothKumar-uw2tz
    @VinothKumar-uw2tz 3 года назад

    Excellent video

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

      Thank you Vinoth. Do check out my other videos in the ASP NET Series, you might like them! ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    awesome

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

      Thank you. Do check out the other videos in this series ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    Hey, Can you please help with encrypting and decrypting the JWT? It doesn't seem to work in dotnet.

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

    Can you make a video to authenticate/authorize a Blazor APP with AWS Cognito?

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

      Thank you for the suggestion. I have Cognito on my list 👍

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

    Great work !

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

      Thanks a lot! Do check out other videos in this series bit.ly/asp-net-core-series

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

    Thank you sir! ( my questions: What if the token is expired )

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

      It will throw an error in the API and the UI/caller is responsible to refresh the token. Does that help?

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

    Brilliant. Subscribed.

  • @Rajeshsingh-ws5th
    @Rajeshsingh-ws5th 3 года назад +1

    Here you mention return path as localhost:5000, but when you are running you api 44334. what is the difference in that??

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

      Good catch Rajesh. That is the callback URL. Since in this case I did not have any front-end application but got the token from the browser URL itself it worked fine. Otherwise that is the URL to which Azure AD will redirect to. So it needs to match the URL where your application will be hosted so that it can automatically get the token from the redirected URL. Hope that clears your question.

    • @Rajeshsingh-ws5th
      @Rajeshsingh-ws5th 3 года назад

      @@RahulNath thanks, love watch your videos. keep going.

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

      @@Rajeshsingh-ws5th Glad you do!

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

    Just WOW!

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

      Thank you! Hope you are liking the full series bit.ly/asp-net-core-series

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

    Bhai..❤ u got a subscriber

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

      Thank you - Check out the full ASP Series here bit.ly/asp-net-core-series

  • @reactjsbeginnertoadvance352
    @reactjsbeginnertoadvance352 13 дней назад

    Thanks a lot for this video...

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

    I try this and works fine when login by paste the URL directly to the browser. But it fails to validate token when using Angular (SPA) where the token is sent by the Angular app. Any suggestions?

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

    great bhai, to the point

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

      Happy you liked it. You might also like the other videos in the series. You can check it out here ruclips.net/p/PL59L9XrzUa-nqfCHIKazYMFRKapPNI4sP

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

    Azure AD B2C pleaseeee with front end app

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

    Clean!

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

      Thank you, Martin!

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

    Do you have example for WebApi for OAuth implementation?

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

      Not yet - it's something I have to get to doing a video on.

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

    Good. Please make a ROPC tutorial with Web API.

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

      Glad you like it and thank you for the suggestion. Added to my list, but not sure by when.

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

    Is there another video for multi tenant application?

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

      Also loved this tutorial!
      If not yours - do you have a recommendation for the next video to watch?

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

      Glad you liked it Heer. Unfortunately I don't have a specific recommendations for that, but I will add this to my list. Any further details on the specific scenario you are looking for

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

    Hi Rahul, When I am passing the access token in authorization section of postman.. its still showing not authenticated..

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

      Hard to tell tell without seeing it. suggest double checking the token version, inspecting it and making sure you have everything correct. There is a related post to help walk through www.rahulpnath.com/blog/jwt_authentication_asp_net_web_api/

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

      @@RahulNath Hi Rahul, Token is showing not authenticated in postman and also in application. please guid im gothough above link but it can't help.

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

      @@jaiminsolanki8849 Hard to tell why that would be. Did you try looking a the token using jwt.io? Suggest going through the video again and trying the steps once again if possible?

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

      @@RahulNath Thanks for the reply, I have fixed issue with add redirect url "localhost:5000/" in Authentication of App Registration into Azure Active Directory.

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

      @@RahulNath Also Updated scope parameter as "&scope=/.default" into Token Request URL.

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

    How do i store the token that i get in my redirect Uri. Can i do that 💀. Im new to programing btw trainee

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

    Brilliant

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

      Thank you David!! Do check out the full series bit.ly/asp-net-core-series I'm sure you will like it

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

    early morning person 4:37 :()

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

      Yes quietest time in my house. Wrote more about it here twitter.com/rahulpnath/status/1393992168579104773?s=20

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

    while posting the implicit flow request URI , I am getting this error which says " The 'resource' request parameter is not supported."
    Please Help!

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

      What URL are you using ? Can you double check with the URL mentioned in the associated blog post www.rahulpnath.com/blog/jwt_authentication_asp_net_web_api/

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

    Nice explanation. Ironic, that the release is just a day after it had an outage. Btw, what font do you use in VSCode ?

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

      Thank you Mayuresh. Yeah perfect timing 🤣 I am using UbuntuMono NF currently. Might switch to Jetbrains Mono. Which one do you prefer using?

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

      @@RahulNath I like Dank Mono. I will try this one.