@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "oktaCasWebflowExecutionPlanConfigurer")
    public CasWebflowExecutionPlanConfigurer oktaCasWebflowExecutionPlanConfigurer(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("oktaWebflowConfigurer")
        final CasWebflowConfigurer oktaWebflowConfigurer) {
        return BeanSupplier.of(CasWebflowExecutionPlanConfigurer.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> plan -> plan.registerWebflowConfigurer(oktaWebflowConfigurer))
            .otherwiseProxy()
            .get();
    }
This is {@link OktaProvisioningConfiguration}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-okta-authentication/src/main/java/org/apereo/cas/config/OktaProvisioningConfiguration.java