JwtValidationErrorContext

Provides the properties of a JWT after validation fails. When the "JwtValidationFilter" fails to validate a JWT, or the "IdTokenValidationFilter" fails to validate an id_token, it injects the JWT and a list of violations into this context.

Properties

The context is named jwtValidationError, and is accessible at ${contexts.jwtValidationError}. The context has the following properties:

"jwt": string

The value of the JWT. Cannot be null.

"violations": list

An unmodifiable list of violations.

Read a different version of :