Skip to content

Commit f79debd

Browse files
committed
Disable MSA-PT for SSH Cert
1 parent fccef7f commit f79debd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msal/application.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,7 @@ def acquire_token_interactive(
17161716
"04b07795-8ddb-461a-bbee-02f9e1bf7b46", # Azure CLI
17171717
"04f0c124-f2bc-4f59-8241-bf6df9866bbd", # Visual Studio
17181718
]
1719+
and kwargs.get("data", {}).get("token_type") != "ssh-cert" # Work around a known issue as of PyMsalRuntime 0.8
17191720
)
17201721
# Call _signin_silently() and/or _signin_interactively()
17211722
if prompt == "none" or (not prompt and not login_hint):

0 commit comments

Comments
 (0)