We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef38ada commit e249c3fCopy full SHA for e249c3f
msal/authority.py
@@ -3,7 +3,9 @@
3
from urllib.parse import urlparse
4
except ImportError: # Fall back to Python 2
5
from urlparse import urlparse
6
+import logging
7
8
+logger = logging.getLogger(__name__)
9
# Endpoints were copied from here
10
# https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud#azure-ad-authentication-endpoints
11
AZURE_US_GOVERNMENT = "login.microsoftonline.us"
@@ -88,6 +90,7 @@ def __init__(
88
90
self._http_client = http_client
89
91
self._oidc_authority_url = oidc_authority_url
92
if oidc_authority_url:
93
+ logger.debug("Initializing with OIDC authority: %s", oidc_authority_url)
94
tenant_discovery_endpoint = self._initialize_oidc_authority(
95
oidc_authority_url)
96
else:
0 commit comments