Skip to content

Commit 1310fac

Browse files
authored
Removed logs that were causing Alerts (#878)
* removed some log that were alerted * Added back logging of the oidc url
1 parent 733a83c commit 1310fac

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

msal/authority.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
from urlparse import urlparse
66
import logging
77

8-
98
logger = logging.getLogger(__name__)
10-
119
# Endpoints were copied from here
1210
# https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud#azure-ad-authentication-endpoints
1311
AZURE_US_GOVERNMENT = "login.microsoftonline.us"
@@ -96,7 +94,6 @@ def __init__(
9694
tenant_discovery_endpoint = self._initialize_oidc_authority(
9795
oidc_authority_url)
9896
else:
99-
logger.debug("Initializing with Entra authority: %s", authority_url)
10097
tenant_discovery_endpoint = self._initialize_entra_authority(
10198
authority_url, validate_authority, instance_discovery)
10299
try:
@@ -117,8 +114,6 @@ def __init__(
117114
.format(authority_url)
118115
) + " Also please double check your tenant name or GUID is correct."
119116
raise ValueError(error_message)
120-
logger.debug(
121-
'openid_config("%s") = %s', tenant_discovery_endpoint, openid_config)
122117
self._issuer = openid_config.get('issuer')
123118
self.authorization_endpoint = openid_config['authorization_endpoint']
124119
self.token_endpoint = openid_config['token_endpoint']

msal/sku.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"""
33

44
# The __init__.py will import this. Not the other way around.
5-
__version__ = "1.34.0"
5+
__version__ = "1.35.0"
66
SKU = "MSAL.Python"

0 commit comments

Comments
 (0)