@Override
    protected boolean isConsentApprovalBypassed(final WebContext context, final OAuthRegisteredService service) {
        if (service instanceof OidcRegisteredService) {
            if (context.getRequestURL().endsWith(OidcConstants.PUSHED_AUTHORIZE_URL)) {
                LOGGER.trace("Consent approval is bypassed for pushed authorization requests");
                return true;
            }
            val prompts = oauthRequestParameterResolver.resolveSupportedPromptValues(context);
            if (prompts.contains(OidcConstants.PROMPT_CONSENT)) {
                return false;
            }
        }
        return super.isConsentApprovalBypassed(context, service);
    }
This is {@link OidcConsentApprovalViewResolver}.

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