Debug Logging Microsoft.Identity.Client and the MSAL OAuth client credentials flow

added by DotNetKicks
8/8/2022 6:13:21 AM

174 Views

This post shows how to add debug logging to the Microsoft.Identity.Client MSAL client which is used to implement an OAuth2 client credentials flow using a client assertion. The client uses the MSAL nuget package. PII logging was activated and the HttpClient was replaced to log all HTTP requests and responses from the MSAL package.


0 comments