@Override
    public boolean supports(final Exception exception, final RequestContext requestContext) {
        return exception instanceof final AuthenticationException e
               && e.getHandlerErrors().containsKey(MultifactorAuthenticationProviderAbsentException.class.getSimpleName());
    }
This is {@link OidcUnmetAuthenticationRequirementWebflowExceptionHandler}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/flow/OidcUnmetAuthenticationRequirementWebflowExceptionHandler.java