# MFA with Custom Database

**URL:** <https://community.auth0.com/t/mfa-with-custom-database/47200>\
**Category:** Get Help\
**Tags:** custom-database, mfa\
**Created:** [July 30, 2020, 1:46pm UTC](https://community.auth0.com/t/mfa-with-custom-database/47200 "2020-07-30T13:46:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew.bulford](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrew.bulford/32/13140_2.png) [@andrew.bulford](https://community.auth0.com/u/andrew.bulford)\
**Post date:** [July 30, 2020, 1:46pm UTC](https://community.auth0.com/t/mfa-with-custom-database/47200/1 "2020-07-30T13:46:00Z")

</div>

Hi, I have a couple of questions around the usage of MFA with a custom database:

1. Can MFA be used in conjunction with a custom database? i.e. Could a user’s username and password be checked and stored using a custom database, but with MFA handled purely by Auth0?

2. Is is possible for the custom database to perform the MFA check?

Thanks in advance,

Andrew

---

<div class="post-metadata">

**Author:** ![joseantonio.rey](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joseantonio.rey/32/14670_2.png) [@joseantonio.rey](https://community.auth0.com/u/joseantonio.rey)\
**Post date:** [August 28, 2020, 11:21pm UTC](https://community.auth0.com/t/mfa-with-custom-database/47200/2 "2020-08-28T23:21:33Z")

</div>

Hey @andrew.bulford - welcome to the Auth0 Community!

Answering in the same order.

1.- Yes, MFA can be combined with any authentication method. Bear in mind that Pro MFA (TOTP MFA, Google Authenticator, Duo) is available with our Developer Pro plan, and Enterprise MFA (Push via Guardian, SMS and Email MFA) is available with our Enterprise plan. You might be looking into the Enterprise plan considering that it’s the only one that allows authentication from a legacy datastore (Custom DB) - our other plans only include migration into Auth0 from the legacy datastore.

2.- No - if you want to do this, you would have to do it from your application itself, and set it up there. It would then be MFA managed by you, and not by Auth0 anymore.

Hopefully this answers your questions - let me know if you have any additional ones!

---

<div class="post-metadata">

**Author:** ![andrew.bulford](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrew.bulford/32/13140_2.png) [@andrew.bulford](https://community.auth0.com/u/andrew.bulford)\
**Post date:** [September 1, 2020, 7:11am UTC](https://community.auth0.com/t/mfa-with-custom-database/47200/3 "2020-09-01T07:11:33Z")

</div>

Hi @joseantonio.rey, thanks!

And thank you for the information. We’re actually going down a different route now but I’m glad to have that clarified!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 1, 2020, 9:03am UTC](https://community.auth0.com/t/mfa-with-custom-database/47200/4 "2020-09-01T09:03:25Z")

</div>

No worries! We’re here for 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:** [September 16, 2020, 9:03am UTC](https://community.auth0.com/t/mfa-with-custom-database/47200/5 "2020-09-16T09:03:32Z")

</div>

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