File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ def _acquire_token_silent_from_cache_and_possibly_refresh_it(
13751375 if account and account .get ("authority_type" ) == _AUTHORITY_TYPE_CLOUDSHELL :
13761376 return self ._acquire_token_by_cloud_shell (scopes , data = data )
13771377
1378- if self ._enable_broker and account is not None and data . get ( "token_type" ) != "ssh-cert" :
1378+ if self ._enable_broker and account is not None :
13791379 from .broker import _acquire_token_silently
13801380 response = _acquire_token_silently (
13811381 "https://{}/{}" .format (self .authority .instance , self .authority .tenant ),
@@ -1799,7 +1799,7 @@ def acquire_token_interactive(
17991799 return self ._acquire_token_by_cloud_shell (scopes , data = data )
18001800 claims = _merge_claims_challenge_and_capabilities (
18011801 self ._client_capabilities , claims_challenge )
1802- if self ._enable_broker and data . get ( "token_type" ) != "ssh-cert" :
1802+ if self ._enable_broker :
18031803 if parent_window_handle is None :
18041804 raise ValueError (
18051805 "parent_window_handle is required when you opted into using broker. "
You can’t perform that action at this time.
0 commit comments