-
Couldn't load subscription status.
- Fork 378
Closed as not planned
Closed as not planned
Copy link
Labels
Similar-Issueconfidential-clientneeds attentionDelete label after triageDelete label after triageuntriagedDo not delete. Needed for AutomationDo not delete. Needed for Automation
Description
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.
Metadata
Metadata
Assignees
Labels
Similar-Issueconfidential-clientneeds attentionDelete label after triageDelete label after triageuntriagedDo not delete. Needed for AutomationDo not delete. Needed for Automation