I am using Actions to enable MFA in the onExecutePostLogin. But after successful MFA validation the onContinuePostLogin method is not triggered. I need to re-direct the user to a different URL after this.
Is there any way I can re-direct the user to a different URL after successful MFA? Can I do this with actions?
I need to get a callback to onContinuePostLogin after completing the Auth0 Default MFA.
So to which URL I should re-direct the user to get this behavior?
You need to redirect your users to whatever URL you prefer using the api.redirect.sendUserTo() method.
Once you get redirected to that page, you can send the user back to Auth0 to resume authentication by calling https://{yourAuth0Domain}/continue?state=THE_ORIGINAL_STATE.
Then at this point, you can initiate your Multi-factor Authentication process.