Hi,
How to make MFA work with custom DB? I want to have the user profile & meta data with custom DB and want to Enable/Disable MFA per user based on the data returned from custom db.
Note: My use case is to purely depend on Custom DB and don’t want to store any user related data in Auth0 DB.
Though we use custom DB to create user, why does it create user in Auth0 DB as well? I can see the user in users list. How to avoid creating user in Auth0 DB as I mentioned above I want to have user data only in custom DB which is our on-premise database.
If we can achieve the above one, then how can I get user meta data from custom DB in “onExecutePostLogin” event object?
When you use Custom DB connection to authenticate users Auth0 does create a shallow copy of the user in auth0 but it does not store passwords. Please read more here: Custom db source. Until you migrate users across, auth0 will continue to use your script to authenticate.