@Override
    protected Event doExecuteInternal(final RequestContext requestContext) throws Throwable {
        val attributes = requestContext.getCurrentEvent().getAttributes();
        if (attributes.contains(CasWebflowConstants.TRANSITION_ID_ERROR)) {
            val error = attributes.get(CasWebflowConstants.TRANSITION_ID_ERROR, Exception.class);
            requestContext.getFlowScope().put(CasWebflowConstants.TRANSITION_ID_ERROR, error);
            val user = PasswordlessWebflowUtils.getPasswordlessAuthenticationAccount(requestContext, PasswordlessUserAccount.class);
            PasswordlessWebflowUtils.putPasswordlessAuthenticationAccount(requestContext, user);
            return success();
        }
        val account = findPasswordlessUserAccount(requestContext).orElseThrow(
            () -> UnauthorizedServiceException.denied("Unable to locate passwordless user account"));
        PasswordlessWebflowUtils.putPasswordlessAuthenticationAccount(requestContext, account);
        return eventFactory.event(this, CasWebflowConstants.TRANSITION_ID_CREATE);
    }
This is {@link DisplayBeforePasswordlessAuthenticationAction}.

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