We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc78c3 commit 9bb0ff6Copy full SHA for 9bb0ff6
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractClientApplicationBase.java
@@ -575,8 +575,10 @@ public T correlationId(String val) {
575
aadAadInstanceDiscoveryResponse);
576
}
577
578
- ((OidcAuthority) authenticationAuthority).setAuthorityProperties(
579
- OidcDiscoveryProvider.performOidcDiscovery(
580
- (OidcAuthority) authenticationAuthority, this));
+ if (authenticationAuthority.authorityType == AuthorityType.OIDC) {
+ ((OidcAuthority) authenticationAuthority).setAuthorityProperties(
+ OidcDiscoveryProvider.performOidcDiscovery(
581
+ (OidcAuthority) authenticationAuthority, this));
582
+ }
583
584
0 commit comments