diff --git a/msal/authority.py b/msal/authority.py index b114831f..9467793a 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -5,9 +5,7 @@ from urlparse import urlparse import logging - logger = logging.getLogger(__name__) - # Endpoints were copied from here # https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud#azure-ad-authentication-endpoints AZURE_US_GOVERNMENT = "login.microsoftonline.us" @@ -96,7 +94,6 @@ def __init__( tenant_discovery_endpoint = self._initialize_oidc_authority( oidc_authority_url) else: - logger.debug("Initializing with Entra authority: %s", authority_url) tenant_discovery_endpoint = self._initialize_entra_authority( authority_url, validate_authority, instance_discovery) try: @@ -117,8 +114,6 @@ def __init__( .format(authority_url) ) + " Also please double check your tenant name or GUID is correct." raise ValueError(error_message) - logger.debug( - 'openid_config("%s") = %s', tenant_discovery_endpoint, openid_config) self._issuer = openid_config.get('issuer') self.authorization_endpoint = openid_config['authorization_endpoint'] self.token_endpoint = openid_config['token_endpoint'] diff --git a/msal/sku.py b/msal/sku.py index 3069da43..01751048 100644 --- a/msal/sku.py +++ b/msal/sku.py @@ -2,5 +2,5 @@ """ # The __init__.py will import this. Not the other way around. -__version__ = "1.34.0" +__version__ = "1.35.0" SKU = "MSAL.Python"