Skip to content

How do I get the schemes used to produce the principal in the implementation of IClaimsTransformation? #61072

Closed Answered by voroninp
voroninp asked this question in Q&A
Discussion options

You must be logged in to vote

The reason for this behavior is that the principal is created by the TokenValidationParameters class, which has DefaultAuthenticationType property set to "AuthenticationTypes.Federation".

I need to set TokenValidationParameters.AuthenticationType to JwtBearerDefaults.AuthenticationScheme.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by voroninp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant