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 https://github.com/AzureAD/microsoft-identity-web/issues/398 #399

Merged
merged 2 commits into from
Aug 4, 2020

Conversation

jmprieur
Copy link
Collaborator

@jmprieur jmprieur commented Aug 4, 2020

No description provided.

@jmprieur jmprieur requested review from jennyf19 and pmaytak August 4, 2020 18:19
(context.Exception as MsalUiRequiredException)
?? (context.Exception?.InnerException as MsalUiRequiredException);

MsalUiRequiredException? msalUiRequiredException = FindMsalUiRequiredExceptionIfAny(context.Exception);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Customers rethrow exceptions and pass Microsoft.Identity.Web exceptions in as inner exceptions.
In 0.2.1-preview, we've added the MicrosoftIdentityWebChallengeUserException, but we overlooked the scenario where it would be nested (for instance by the Graph SDK)

@jmprieur jmprieur merged commit 26e69d3 into master Aug 4, 2020
@jennyf19 jennyf19 deleted the fix398 branch August 5, 2020 01:08
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.

2 participants