Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #3294 - throw UiRequiredException when WAM cannot get a trans… #3306

Merged
merged 2 commits into from
May 11, 2022

Conversation

bgavrilMS
Copy link
Member

@bgavrilMS bgavrilMS commented May 5, 2022

…fer token in MSA-PT

Fixes #3294

Changes proposed in this request

Testing

Performance impact

Copy link
Contributor

@pmaytak pmaytak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the current behavior? What is the new behavior? What are the benefits of the new behavior?

  • ATS for default OS MSA account in MSA-PT scenario -> can show a UI.
  • Same scenario but now instead of UI showing up whenever, dev can catch the UiRequired exception and not show the UI?

tests/Microsoft.Identity.Test.Unit/BrokerTests/WamTests.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@SameerK-MSFT SameerK-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Liked Peter's suggestion for the test name.

@bgavrilMS bgavrilMS merged commit f883d74 into master May 11, 2022
@bgavrilMS bgavrilMS deleted the bogavril/3294 branch May 11, 2022 10:49
pmaytak pushed a commit that referenced this pull request May 12, 2022
#3306)

* Fix for #3294 - throw UiRequiredException when WAM cannot get a transfer token in MSA-PT

* Address PR
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] AcquireTokenSilent for OperatingSystemAccount can prompt.
5 participants