Skip to content
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