.Net Core Web API Azure AD Authentication and Authorization

preview_player
Показать описание
In this video I have demonstrated Securing WebAPI with Azure Active Directory Authentication and Authorization using .Net Core. In Asp.Net Core Web API, Authentication is the process of obtaining some kind of credentials from the users and using those credentials to check the user's identity. Authorization is the process of allowing an authenticated user access to resources. Authorization refers to the process that determines what a user is able to do. For example, an administrative user is allowed to create a document library, add documents, edit documents, and delete them. A non-administrative user working with the library is only authorized to read the documents.

-------------------------------------------------------
-------------------------------------------------------
After that, I have created two more app registrations for readonly and redwrite clients. I have assigned roles to these clients. Later I have shown accessing the Azure Rest API with postman using the ClientId, ClientSecret and other parameters to get the token from Azure AD and later used the token to access C# Asp.Net Core Web API which uses Azure AD authenticaiton and Authorization. Please note that we have to generate client secrets for both the client applications.

-----------------------------------------------------------
-----------------------------------------------------------
00:00 Introduction
01:40 Creating App Registrations in Azure
02:28 Configuring API App Registration Roles
10:45 Configuring Client App Registrations
12:45 Testing Azure Web API with Postman
19:00 Creating Console Applications to Access Azure AD to get token and access Web API

Рекомендации по теме
Комментарии
Автор

Really well done, very applicable, and very easy to understand. You separated the different steps quite nicely in chunks that made it simple to understand the different pieces of the puzzle on their own, as well as how they all tie together in the end.

howieandersen
Автор

wow...crystal clear explanation...included Roles, access via postman/code...everything at one place...Thanks for this video.

codezard
Автор

Thank you so much! I've been trying to figure this out for a while and your video really made sense of things. The documentation I've read explained how to set of parts of this, but seeing how you set it up, used postman to test it and implement it in a client app was exactly what I needed to understand what's going on

TheBreaded
Автор

Excellent explanation! To the point and in detail! Loved it!

vijayg
Автор

Thank you very much for this super clear and helpful content 🙏💫

ahlamkadour
Автор

Very Nice, Very good explanation of the concept with use case and example. straight to the point and crisp and clear

ajaykumarreddyk
Автор

This was very easy to follow and straight to the point. I was able to reproduce with a .Net 5 Api. Thank you for putting this together!

jonathanmoore
Автор

Great video! I was looking for an explanation like this! Thank you so much!

raphaelrcavalcanti
Автор

Thank you! A well documented bare bones example. A few minor updates for .Net 6 and I'm up and running.

stephenrobinson
Автор

Thank you very much.Very Practical and Very Simple Example. It is Great !!!!

johnkumar
Автор

The best I have ever seen, so well explained …thanks a million ❤

StanleyBroo
Автор

Thank you so much for making this video ❤❤❤
It really helped me a lot to understand the azure API authentication 🥳🥳
God Bless You 🙏

gauravphone
Автор

Just what I was looking for
Thanks so much

shubhankarpaul
Автор

Thanks a lot! Really helpful and easy to understand

priyankamishra
Автор

That was really helpful, Thank you Sir.

Can you also please share in short how we can implement OpenID Connect for Web API in Azure APIM?

menatmars
Автор

Excellent job thanks alot, I request you to cover topics of most used Azure .NET services and Interview Questions realted

jackdesparrow
Автор

Very nicely explained, try to add Role based authorization. Thank you.

rakeshkaddi
Автор

You're god, explained perfectly <3

mikyit
Автор

Hi Thank you so much for this. Can you please show how to get the Domain Password Policy for Azure AD using the Graph API?

vukilesimelane
Автор

super helpful. loved the content and the clarity of the explanation as well. Do you have any videos for the delegated permission ?

bismsit