File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 from urlparse import urlparse
66import logging
77
8-
98logger = 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
1311AZURE_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' ]
Original file line number Diff line number Diff line change 22"""
33
44# The __init__.py will import this. Not the other way around.
5- __version__ = "1.34 .0"
5+ __version__ = "1.35 .0"
66SKU = "MSAL.Python"
You can’t perform that action at this time.
0 commit comments