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 a3e85fc commit bac27e0Copy full SHA for bac27e0
msal/authority.py
@@ -83,7 +83,7 @@ def __init__(self, authority_url, http_client, validate_authority=True):
83
openid_config = tenant_discovery(
84
tenant_discovery_endpoint,
85
self.http_client)
86
- except json.decoder.JSONDecodeError:
+ except ValueError: # json.decoder.JSONDecodeError in Py3 subclasses this
87
raise ValueError(
88
"Unable to get authority configuration for {}. "
89
"Authority would typically be in a format of "
0 commit comments