Skip to content

Commit e249c3f

Browse files
committed
Added back logging of the oidc url
1 parent ef38ada commit e249c3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

msal/authority.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
from urllib.parse import urlparse
44
except ImportError: # Fall back to Python 2
55
from urlparse import urlparse
6+
import logging
67

8+
logger = logging.getLogger(__name__)
79
# Endpoints were copied from here
810
# https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud#azure-ad-authentication-endpoints
911
AZURE_US_GOVERNMENT = "login.microsoftonline.us"
@@ -88,6 +90,7 @@ def __init__(
8890
self._http_client = http_client
8991
self._oidc_authority_url = oidc_authority_url
9092
if oidc_authority_url:
93+
logger.debug("Initializing with OIDC authority: %s", oidc_authority_url)
9194
tenant_discovery_endpoint = self._initialize_oidc_authority(
9295
oidc_authority_url)
9396
else:

0 commit comments

Comments
 (0)