-
Notifications
You must be signed in to change notification settings - Fork 75
A Helper utility for the samples #185
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
base: main
Are you sure you want to change the base?
Conversation
2-With-broker/UserDetailsClient/UserDetailsClient/MainPage.xaml.cs
Outdated
Show resolved
Hide resolved
throw new ArgumentException($"Both doSilent and do Interactive cannot be false"); | ||
} | ||
} | ||
catch (MsalUiRequiredException) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to catch the exception message here, as they are needed for a claims challenge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a great start. Would be nice to align more with the higher-level API we have in Id.Web, as far as method names (ITokenAcquistion, IDownstreamWebApi), to provide consistency.
Co-authored-by: jennyf19 <jeferrie@microsoft.com>
Please check PCAHelper.md for explanation