@ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_OKTA_PRINCIPAL_PROVISIONER_ACTION)
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public Action oktaPrincipalProvisionerAction(
        final CasConfigurationProperties casProperties,
        final ConfigurableApplicationContext applicationContext,
        @Qualifier(PrincipalProvisioner.BEAN_NAME)
        final PrincipalProvisioner principalProvisioner) {
        return BeanSupplier.of(Action.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> new PrincipalProvisionerAction(principalProvisioner, casProperties.getScim()))
            .otherwise(() -> ConsumerExecutionAction.NONE)
            .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