Skip to content

Commit 85605e6

Browse files
committed
Remove redundant snippet
1 parent 0d47cae commit 85605e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

msal/authority.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ def __init__(self, authority_url, validate_authority=True,
4949
tenant_discovery_endpoint = instance_discovery(
5050
canonicalized + "/oauth2/v2.0/authorize",
5151
verify=verify, proxies=proxies, timeout=timeout)
52-
if tenant.lower() == "adfs":
53-
tenant_discovery_endpoint = ("https://{}/adfs/.well-known/openid-configuration"
54-
.format(self.instance))
5552
openid_config = tenant_discovery(
5653
tenant_discovery_endpoint,
5754
verify=verify, proxies=proxies, timeout=timeout)

0 commit comments

Comments
 (0)