MFA with Custom Database

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