We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c46b0 commit b46fc9aCopy full SHA for b46fc9a
src/snowflake/connector/wif_util.py
@@ -234,7 +234,10 @@ def create_azure_attestation(
234
issuer, subject = extract_iss_and_sub_without_signature_verification(jwt_str)
235
if not issuer or not subject:
236
return None
237
- if not (issuer.startswith("https://sts.windows.net/") or issuer.startswith("https://login.microsoftonline.com/")):
+ if not (
238
+ issuer.startswith("https://sts.windows.net/")
239
+ or issuer.startswith("https://login.microsoftonline.com/")
240
+ ):
241
# This might happen if we're running on a different platform that responds to the same metadata request signature as Azure.
242
logger.debug("Unexpected Azure token issuer '%s'", issuer)
243
0 commit comments