VirtoCommerce / vc-platform

Virto Commerce B2B Innovation Platform
https://virtocommerce.com
Other
1.23k stars 846 forks source link

Auth ClaimTypeMap Clearing breaks external AzureAd Auth #1780

Open wsimon opened 4 years ago

wsimon commented 4 years ago

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 commented 4 years ago

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

OlegoO commented 1 year ago

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