Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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.
  • Loading branch information
arthur00 authored and rayluo committed Oct 22, 2019
commit 6e8be7096bf15d297a30da30f6c2f2c69c065a44
2 changes: 1 addition & 1 deletion msal/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def acquire_token_silent(
# verify=self.verify, proxies=self.proxies, timeout=self.timeout,
# ) if authority else self.authority
result = self._acquire_token_silent_from_cache_and_possibly_refresh_it(
scopes, account, self.authority, **kwargs)
scopes, account, self.authority, force_refresh=force_refresh, **kwargs)
if result:
return result
for alias in self._get_authority_aliases(self.authority.instance):
Expand Down