Collecting user input from an action

I am trying to integrate an external MFA service into a post-login action (specific customer request). For this to work, I need to be able to collect an OTP from the user.

Can I display a prompt and collect an input directly from the action?
Is something like api.redirect.sendUserTo() my only viable option?

Hi @aaronalbertit

Yes, you need to use the redirect.

John

2 Likes