This PR fixes the following open issues with the On Behalf Of Provider:
Issue #29. MsalException with error code user_mismatch was being thrown when an app switches from one user to another. This PR updates the code to get a new token when an MsalException is throw when acquiring a token silently.
Issue #28. The tenant id field from the jwt payload was being ignored when using .WithUserAssertion extension method. This PR extracts this field and adds it to a GraphUserAccount object.
This PR fixes the following open issues with the On Behalf Of Provider:
Issue #29.
MsalException
with error codeuser_mismatch
was being thrown when an app switches from one user to another. This PR updates the code to get a new token when anMsalException
is throw when acquiring a token silently.Issue #28. The tenant id field from the jwt payload was being ignored when using
.WithUserAssertion
extension method. This PR extracts this field and adds it to aGraphUserAccount
object.