Generate MFA Token for OTP without password

Hi, I want to generate an MFA token without passing user credentials. (email, password)

Use case is I want to integrate OTP on users changing their password inside my application as the last step of changing their password.

However I need to get an mfa_token to use along with OTP code provided in user’s authenticator.


Hello @jbrb welcome to our community!

mfa_tokens are produced as part of an error in an authentication flow called mfa_required.

There is no way to generate an mfa_token without an error in the authentication flow.

We recommend you to search for an alternative solution that fits your requirements.

Thank you!


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