protected void createStateDetermineDelegatedAuthenticationAction(final Flow flow) {
        val verifyAccountState = createActionState(flow, CasWebflowConstants.STATE_ID_PASSWORDLESS_DETERMINE_DELEGATED_AUTHN,
            CasWebflowConstants.ACTION_ID_DETERMINE_PASSWORDLESS_DELEGATED_AUTHN);
        createTransitionForState(verifyAccountState, CasWebflowConstants.TRANSITION_ID_ERROR,
            CasWebflowConstants.STATE_ID_PASSWORDLESS_GET_USERID);
        createTransitionForState(verifyAccountState, CasWebflowConstants.TRANSITION_ID_SUCCESS,
            CasWebflowConstants.STATE_ID_PASSWORDLESS_DETERMINE_MFA);

        val subflowState = createSubflowState(flow, "passwordlessRedirectToDelegationFlow", CasWebflowConfigurer.FLOW_ID_DELEGATION_REDIRECT);
        createTransitionForState(subflowState, CasWebflowConstants.TRANSITION_ID_SUCCESS, CasWebflowConstants.STATE_ID_END_WEBFLOW);
        val customizers = applicationContext.getBeansOfType(DelegatedClientWebflowCustomizer.class)
            .values()
            .stream()
            .filter(BeanSupplier::isNotProxy)
            .sorted(AnnotationAwareOrderComparator.INSTANCE).toList();
        val attrMapping1 = createFlowMapping("flowScope." + CasWebflowConstants.ATTRIBUTE_SERVICE, CasWebflowConstants.ATTRIBUTE_SERVICE);
        val attrMapping2 = createFlowMapping("flowScope." + DelegationWebflowUtils.FLOW_SCOPE_ATTR_DELEGATED_AUTHN_PROVIDER_PRIMARY,
            DelegationWebflowUtils.FLOW_SCOPE_ATTR_DELEGATED_AUTHN_PROVIDER_PRIMARY);
        val attrMappings = CollectionUtils.wrapList(attrMapping1, attrMapping2);
        customizers.forEach(customizer -> customizer.getWebflowAttributeMappings()
            .forEach(key -> attrMappings.add(createFlowMapping("flowScope." + key, key))));
        val attributeMapper = createFlowInputMapper(attrMappings);
        val subflowMapper = createSubflowAttributeMapper(attributeMapper, null);
        subflowState.setAttributeMapper(subflowMapper);
        createTransitionForState(verifyAccountState, CasWebflowConstants.TRANSITION_ID_PROMPT, "passwordlessRedirectToDelegationFlow");
    }
This is {@link PasswordlessAuthenticationWebflowConfigurer}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-passwordless-webflow/src/main/java/org/apereo/cas/web/flow/PasswordlessAuthenticationWebflowConfigurer.java