Skip to content

Use of TokenValidationParameters.ValidateIssuerSigningKey

BrentSchmaltz edited this page Jan 7, 2021 · 3 revisions

TokenValidationParameters.ValidateIssuerSigningKey

Purpose: to provide additional checks on the security key that signed a token.

Default: false

TokenValidationParameters.ValidateIssuerSigningKey is used when you need to perform additional validation of the security key that was used to validate the signature of the token that was validated.

Normally this is not required because the user / runtime must set IssuerSigningKey or IssuerSigningKeys or in the case of custom security key retrieval the delegate IssuerSigningKeyResolver ( Definition ) for keys to be available for validating the signature on the token. By default, all tokens are required to be signed RequireSignedTokens. It is assumed that only keys from trusted sources are set.

If you need custom validation of the security key that signed the token you can:

Clone this wiki locally