@Bean(initMethod = "generate")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "oidcJsonWebKeystoreGeneratorService")
        public OidcJsonWebKeystoreGeneratorService oidcJsonWebKeystoreGeneratorService(
            final CasConfigurationProperties casProperties,
            final ConfigurableApplicationContext applicationContext,
            final List<Supplier<OidcJsonWebKeystoreGeneratorService>> oidsJwksSuppliers) {
            val supplier = oidsJwksSuppliers
                .stream()
                .sorted(AnnotationAwareOrderComparator.INSTANCE)
                .filter(BeanSupplier::isNotProxy)
                .findFirst()
                .orElse(() -> {
                    val oidc = casProperties.getAuthn().getOidc();
                    return new OidcDefaultJsonWebKeystoreGeneratorService(oidc, applicationContext);
                });
            return supplier.get();
        }
This is {@link OidcJwksConfiguration}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-oidc/src/main/java/org/apereo/cas/config/OidcJwksConfiguration.java