IG 2023.11

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": java.lang.String

The value of the JWT. Cannot be null.

"violations": java.util.List<Violation>

A list of violations.

Copyright © 2010-2023 ForgeRock, all rights reserved.