@Bean
        public CasWebSecurityConfigurer<Void> consentEndpointConfigurer() {
            return new CasWebSecurityConfigurer<>() {
                @Override
                public List<String> getIgnoredEndpoints() {
                    return List.of("/consent");
                }
            };
        }
This is {@link RestfulConsentRepositoryTests}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-consent-rest/src/test/java/org/apereo/cas/consent/RestfulConsentRepositoryTests.java