Attempts account removal from broker first - #651
Conversation
Ashok Kumar Ramakrishnan (ashok672)
left a comment
There was a problem hiding this comment.
what if broker sign out also throws an unexpected exception? Is this possible. I don't understand why self.forget_me would throw an error skipping execution below.
It is always possible for any code path to potentially throw an exception. And we can let those really unexpected exceptions bubble up.
In that referenced Azure CLI's case, they persist the MSAL Python's token cache on disk, and the |
|
Thanks for the attempt to solve Azure/azure-cli#20231 (comment). However, I don't think this change makes any difference as In other word, if |
Jiashuo Li (jiasli)
left a comment
There was a problem hiding this comment.
Let's rethink about it.
495340f to
4a7d36a
Compare
This change is inspired by this conversation.
CC: Jiashuo Li (@jiasli)