WebApi Azure AD Authentication How It Works? | Azure Active Directory Authentication

WebApi Azure AD Authentication How It Works? | Azure Active Directory Authentication

AzureTeach•Net

55 лет назад

517 Просмотров

Azure AD Authentication HOW TO | WebApi Azure AD Authentication| Azure AD Authentication | .Net Azure AD Authentication| Microsoft Entra Authentication| .Net Azure Active Directory Authentication
=========================================

This is A demo of Azure AD Authentication with Web API. To configure Azure AD authentication on Web API below steps should be performed.
1. Create an app registration
2. Generate Application Id URI
3. Assign Scopes
4. Using Visual Studio configure Microsoft Identity Provider for integrating Azure AD authentication with Web API
6. Configure Created app registration details in Web API app settings.json file.
This is how we can configure Azure AD authentication in .Net applications. When the application configured with Azure AD Authentication gets the first request, the application sends request to Microsoft Azure on Well-known endpoint to get the public keys information. the response from Azure AD contains JWT Keys url. Then the application sends request to the JWT Keys url to get the list of Keys. When a Authentication token is generated from Azure AD on JWT Header, it contains a Kid. This Key ID maps to the keys we get from JWT keys endpoint. Application caches the keys which it get from Jwt Keys url and uses it to decode the token. Application gets these keys on first request only. for subsequent requests it uses cached keys. This is how the Azure AD (Active Directory Authentication) works with Web API. The same happens with Any .Net with Azure AD authentication.

00:00 How to Configure Azure Ad Authentication?
01:18 explanation On Azure AD Authentication with .Net
03:18 Azure AD Authentication Conclusion

Тэги:

#webapi_azure_ad_authentication_authorization #Web_Api_Authentication_And_Authorization_Using_Azure_ad #Web_Api_azure_ad_authentication_and_authorization_for_user #web_api_authentication_azure_ad #webapi_authentication_and_authorization_using_azure_ad #azure_ad_webapi_authentication_and_authorization #webapi_authentication_and_authorization_azure_active_directory #azure_active_directory_webapi_authentication_and_authorization #web_api_azure_ad_role_based_authentication_and_authorization
Ссылки и html тэги не поддерживаются


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