Skip to content

Commit 6e8be70

Browse files
arthur00rayluo
authored andcommitted
force_refresh not being passed to _acquire_token_silent_from_cache .... (#113)
* force_refresh not being passed to _acquire_token_silent_from_cache_and_possibly_refresh_it acquire_token_silent is receiving force_refresh but it's not passing to the next function: _acquire_token_silent_from_cache_and_possibly_refresh_it. This update just adds that argument when calling the latter. * force_refresh is specified on acquire_token_silent As requested, the call to self._acquire_token_silent_from_cache_and_possibly_refresh_it now specifies force_refresh=force_refresh, similar to line 425.
1 parent 25c042c commit 6e8be70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def acquire_token_silent(
413413
# verify=self.verify, proxies=self.proxies, timeout=self.timeout,
414414
# ) if authority else self.authority
415415
result = self._acquire_token_silent_from_cache_and_possibly_refresh_it(
416-
scopes, account, self.authority, **kwargs)
416+
scopes, account, self.authority, force_refresh=force_refresh, **kwargs)
417417
if result:
418418
return result
419419
for alias in self._get_authority_aliases(self.authority.instance):

0 commit comments

Comments
 (0)