0

Azure AD OAuth client credential flow with custom certificate walk-through

 1 year ago
source link: https://devblogs.microsoft.com/premier-developer/azure-ad-oauth-client-credential-flow-with-custom-certificate-walk-through/?WT_mc_id=DOP-MVP-4025064
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Azure AD OAuth client credential flow with custom certificate walk-through

devsupport-96x96.jpg

Developer Support

June 29th, 20220

Nicola Delfino demonstrates how to use a certificate to request an access token to Azure Active Directory, using the OAuth 2.0 client credential flow


You can use the OAuth 2.0 client credentials grant specified in RFC 6749, to access web-hosted resources by using the identity of an application. This type of grant is commonly used for server-to-server interactions that must run in the background, without immediate interaction with a user.

The OAuth 2.0 client credentials grant flow permits a web service (confidential client) to use its own credentials, instead of impersonating a user, to authenticate when calling another web service. For a higher level of assurance, the Microsoft Identity Platform also allows the calling service to authenticate using a certificate or federated credential instead of a shared secret.

In this walk-through I show how to use a certificate to request an access token to Azure Active Directory, using the OAuth 2.0 client credential flow. As the client, I use a custom c# DotNet 6 application and MSAL Library.

Continue with the complete walk-through on Nicola’s blog here.

Developer Support App Dev Customer Success Account Manager, Microsoft Developer Support

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK