Skip to content

Commit a5680a4

Browse files
authored
Update application.py
1 parent 94b53cf commit a5680a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

msal/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,8 @@ def _find_msal_accounts(self, environment):
10131013
return list(grouped_accounts.values())
10141014

10151015
def _get_authority_aliases(self, instance):
1016+
if self.authority.is_adfs:
1017+
return []
10161018
if not self.authority_groups:
10171019
resp = self.http_client.get(
10181020
"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize",

0 commit comments

Comments
 (0)