We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6475110 commit 2582b01Copy full SHA for 2582b01
src/sumo/wrapper/_auth_provider.py
@@ -443,6 +443,9 @@ def get_auth_provider(
443
if os.path.exists(get_token_path(resource_id, ".sharedkey", case_uuid)):
444
return AuthProviderSumoToken(resource_id, case_uuid)
445
# ELSE
446
+ if os.path.exists(get_token_path(resource_id, ".sharedkey")):
447
+ return AuthProviderSumoToken(resource_id)
448
+ # ELSE
449
if os.path.exists(get_token_path(resource_id, ".token")):
450
auth_silent = AuthProviderSilent(client_id, authority, resource_id)
451
token = auth_silent.get_token()
0 commit comments