MSAL client type
Confidential
Problem statement
Since the change #5358 I am unable to connect to a provider where the issuer property in the .well-known/openid-configuration file doesn't comply with the specification.
It would be handy if the new validation was opt-out, so we could still use the provider with MSAL for .NET.
Proposed solution
Add a flag to opt-out of the issuer validation, perhaps like:
namespace Microsoft.Identity.;
public class ConfidentialClientApplicationBuilder
{
public Microsoft.Identity.Client.ConfidentialClientApplicationBuilder WithOidcAuthority(string authorityUri, bool validateIssuer);
}
Alternatives
In my case, I use client credentials. So an alternative for me would be to just write code that fetches, caches and refreshes the token myself.
MSAL client type
Confidential
Problem statement
Since the change #5358 I am unable to connect to a provider where the
issuerproperty in the.well-known/openid-configurationfile doesn't comply with the specification.It would be handy if the new validation was opt-out, so we could still use the provider with MSAL for .NET.
Proposed solution
Add a flag to opt-out of the issuer validation, perhaps like:
Alternatives
In my case, I use client credentials. So an alternative for me would be to just write code that fetches, caches and refreshes the token myself.