MFA Post Login Action - api.authentication.enrollWith

I am trying to enroll mfa to my users (Customize MFA Enrollments in New Universal Login)

The documentation says to use api.authentication.enrollWithAny

But enrollWithAny does not exists
Is the documentation deprecated?

How can i enroll mfa in post login action?

Hi @rafael4,

The documentation is correct, and the api.authentication.enrollWithAny command is legitimate.

When testing this on my end, I was able to successfully execute the code even though I do see the same problem as you:

Given that, I can confirm that you can use the api.authentication.enrollWithAny command without issues and I will notify our Engineering team to address this contradictory error.

Let me know if you have any additional questions.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.