vc-platform
vc-platform copied to clipboard
Auth ClaimTypeMap Clearing breaks external AzureAd Auth
We are using an external auth and noticed on Virto v3 that the following claim map clearing in Startup.cs is breaking our claims:
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); JwtSecurityTokenHandler.DefaultOutboundClaimTypeMap.Clear();
Why is that done? Do you have any recommendations around this or a fix?
Thanks
I've opened a PR to address this issue: https://github.com/VirtoCommerce/vc-platform/pull/1785
Added fix into https://github.com/VirtoCommerce/vc-platform/pull/2615