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(
1375
1375
if account and account .get ("authority_type" ) == _AUTHORITY_TYPE_CLOUDSHELL :
1376
1376
return self ._acquire_token_by_cloud_shell (scopes , data = data )
1377
1377
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 :
1379
1379
from .broker import _acquire_token_silently
1380
1380
response = _acquire_token_silently (
1381
1381
"https://{}/{}" .format (self .authority .instance , self .authority .tenant ),
@@ -1799,7 +1799,7 @@ def acquire_token_interactive(
1799
1799
return self ._acquire_token_by_cloud_shell (scopes , data = data )
1800
1800
claims = _merge_claims_challenge_and_capabilities (
1801
1801
self ._client_capabilities , claims_challenge )
1802
- if self ._enable_broker and data . get ( "token_type" ) != "ssh-cert" :
1802
+ if self ._enable_broker :
1803
1803
if parent_window_handle is None :
1804
1804
raise ValueError (
1805
1805
"parent_window_handle is required when you opted into using broker. "
You can’t perform that action at this time.
0 commit comments