Custom MFA Provider and Actions

It seems that Rules are Legacy and there is now new mechanism called ‘Actions’ to do similar kind of things. Given there is this Actions Triggers: post-login could it be possible to create a custom step with api redirect in the login flow for calling own custom MFA provider. So that check some condition in the custom step and redirect to your custom API to do the MFA flow and then return to onContinuePostLogin (with /continue direct) with the result of the custom MFA flow and somehow validate/verify that the result is authentic and ok then continue otherwise terminate the login flow with error. @konrad.sopala