# Can I add Auth0 MFA to my custom login flow (email/password)?

**URL:** <https://community.auth0.com/t/can-i-add-auth0-mfa-to-my-custom-login-flow-email-password/136071>\
**Category:** Get Help\
**Tags:** mfa-api, mfa\
**Created:** [June 10, 2024, 5:52pm UTC](https://community.auth0.com/t/can-i-add-auth0-mfa-to-my-custom-login-flow-email-password/136071 "2024-06-10T17:52:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua.l1123](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joshua.l1123/32/48848_2.png) [@joshua.l1123](https://community.auth0.com/u/joshua.l1123)\
**Post date:** [June 10, 2024, 5:52pm UTC](https://community.auth0.com/t/can-i-add-auth0-mfa-to-my-custom-login-flow-email-password/136071/1 "2024-06-10T17:52:03Z")

</div>

I have a email/password login flow that’s not using auth0’s, but I wanna add auth0 MFA (SMS) after the user’s successful login. Is it possible? Which API should I specifically look for?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 10, 2024, 6:37pm UTC](https://community.auth0.com/t/can-i-add-auth0-mfa-to-my-custom-login-flow-email-password/136071/3 "2024-06-10T18:37:00Z")

</div>

Hey there @joshua.l1123 welcome to the community!

As far as I’m aware this isn’t possible when using a login flow entirely outside of Auth0 - As you can see in the [ROPG](https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa) (Resource Owner Password Grant) flow when MFA is enabled for an application, an mfa token is returned upon successful auth. At that point the MFA API can be utilized to complete the flow.

---

<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:** [June 24, 2024, 6:37pm UTC](https://community.auth0.com/t/can-i-add-auth0-mfa-to-my-custom-login-flow-email-password/136071/4 "2024-06-24T18:37:55Z")

</div>

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