@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "groovyPasswordlessUserAccountCustomizer")
        public PasswordlessUserAccountCustomizer groovyPasswordlessUserAccountCustomizer(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties) {
            val resource = casProperties.getAuthn().getPasswordless().getCore()
                .getPasswordlessAccountCustomizerScript().getLocation();
            val scriptFactory = ExecutableCompiledScriptFactory.findExecutableCompiledScriptFactory();
            if (resource != null && CasRuntimeHintsRegistrar.notInNativeImage() && scriptFactory.isPresent()) {
                return new GroovyPasswordlessUserAccountCustomizer(casProperties, applicationContext,
                    scriptFactory.get().fromResource(resource));
            }
            return PasswordlessUserAccountCustomizer.noOp();
        }
This is {@link CasPasswordlessAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-passwordless-authentication/src/main/java/org/apereo/cas/config/CasPasswordlessAuthenticationAutoConfiguration.java