IAuthenticationFilter::OnAuthentication not called when migrating from ADAL to MSAL
yuanyms opened this issue · 4 comments
Hi,
We own web APIs protected by [System.Web.Mvc.Authorize] attribute. We implement IAuthenticationFilter::OnAuthentication that looks into AuthenticationContext..HttpContext.User.Identity.IsAuthenticated and AuthenticationType, etc.
Our client was using ADAL to authenticate and call the API. The filter above is working as expected. When our client migrated to MSAL, the filter is not called any more, but go to API directly. Put bp inside the API and confirm HttpContext has correct user identity etc.
I saw another post that seems having the same isseu.
Is this the right place to ask this question? Please let me know what else information I can provide.
FYI, The MVC package version is 5.2.3 right now.
Thanks~
Thanks~ Will try it out.