# Generate MFA Token for OTP without password

**URL:** <https://community.auth0.com/t/generate-mfa-token-for-otp-without-password/34014>\
**Category:** Get Help\
**Tags:** api, login, auth0\
**Created:** [November 20, 2019, 2:59am UTC](https://community.auth0.com/t/generate-mfa-token-for-otp-without-password/34014 "2019-11-20T02:59:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jbrb/32/17485_2.png) [@jbrb](https://community.auth0.com/u/jbrb)\
**Post date:** [November 20, 2019, 2:59am UTC](https://community.auth0.com/t/generate-mfa-token-for-otp-without-password/34014/1 "2019-11-20T02:59:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![karen.bermudez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/karen.bermudez/32/28446_2.png) [@karen.bermudez](https://community.auth0.com/u/karen.bermudez)\
**Post date:** [February 14, 2020, 6:36pm UTC](https://community.auth0.com/t/generate-mfa-token-for-otp-without-password/34014/2 "2020-02-14T18:36:52Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 29, 2020, 6:36pm UTC](https://community.auth0.com/t/generate-mfa-token-for-otp-without-password/34014/3 "2020-02-29T18:36:55Z")

</div>

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