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 7c4c4b5 commit 49a9198Copy full SHA for 49a9198
msal/application.py
@@ -1123,12 +1123,13 @@ def _get_authority_aliases(self, instance):
1123
1124
def remove_account(self, account):
1125
"""Sign me out and forget me from token cache"""
1126
- self._forget_me(account)
1127
if self._enable_broker:
1128
from .broker import _signout_silently
1129
error = _signout_silently(self.client_id, account["local_account_id"])
1130
if error:
1131
logger.debug("_signout_silently() returns error: %s", error)
+ # Broker sign-out has been attempted, even if the _forget_me() below throws.
1132
+ self._forget_me(account)
1133
1134
def _sign_out(self, home_account):
1135
# Remove all relevant RTs and ATs from token cache
0 commit comments