Skip to content

Conversation

@ashok672
Copy link
Contributor

@ashok672 ashok672 commented Oct 26, 2023

Fixes #4209

Changes proposed in this request
WithBroker = true, interactive token call falls back correctly to browser and completes the flow. With silent token call for the same account, currently there is no fallback to local cache if broker fails to return result. BrokerStrategy can fail for example if the broker is not available in the machine. The fix is to fall back to local cache for silent token call as well similar to interactive call. 

Testing
The existing unit tests were modified to account for the new bahavior
Ran through the scenario manually in the WinForms test app and verified its working as expected

Performance impact
None

Documentation
None

@ashok672 ashok672 marked this pull request as ready for review November 1, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Broker AcquireTokenInteractive() doesn't cache when it fallbacks

5 participants