Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth ClaimTypeMap Clearing breaks external AzureAd Auth #1780

Open
wsimon opened this issue Feb 4, 2020 · 2 comments
Open

Auth ClaimTypeMap Clearing breaks external AzureAd Auth #1780

wsimon opened this issue Feb 4, 2020 · 2 comments

Comments

@wsimon
Copy link
Contributor

wsimon commented Feb 4, 2020

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
Copy link
Contributor Author

wsimon commented Feb 12, 2020

I've opened a PR to address this issue:
#1785

@OlegoO
Copy link
Contributor

OlegoO commented Feb 15, 2023

Added fix into #2615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants