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 11163f1 commit 0c5c807Copy full SHA for 0c5c807
msal/application.py
@@ -552,6 +552,12 @@ def acquire_token_silent_with_error(
552
return result
553
final_result = result
554
for alias in self._get_authority_aliases(self.authority.instance):
555
+ if not self.token_cache.find(
556
+ self.token_cache.CredentialType.REFRESH_TOKEN,
557
+ target=scopes,
558
+ query={"environment": alias}):
559
+ # Skip heavy weight logic when RT for this alias doesn't exist
560
+ continue
561
the_authority = Authority(
562
"https://" + alias + "/" + self.authority.tenant,
563
self.http_client,
0 commit comments