vc-platform icon indicating copy to clipboard operation
vc-platform copied to clipboard

Auth ClaimTypeMap Clearing breaks external AzureAd Auth

Open wsimon opened this issue 6 years ago • 2 comments

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

wsimon avatar Feb 04 '20 17:02 wsimon

I've opened a PR to address this issue: https://github.com/VirtoCommerce/vc-platform/pull/1785

wsimon avatar Feb 12 '20 21:02 wsimon

Added fix into https://github.com/VirtoCommerce/vc-platform/pull/2615

OlegoO avatar Feb 15 '23 08:02 OlegoO