Does mark_email_as_verified work with Custom Databases during initial password setup?

In the case of a change password/reset password flow, where the goal is to take advantage of the user’s first password initialization to simultaneously verify their email address, is the mark_email_as_verified feature properly applied even when a custom database is used?

Hi @MPtechteam,

Welcome to the Auth0 Community!

Yes, the mark_email_as_verified parameter is respected when using a Custom Database.

Ensure your Custom Database Login and Get User scripts return the email_verified field correctly. If your underlying legacy database doesn’t store this flag, Auth0 will rely on its own internal user profile metadata once the ticket is processed.

If you have any other questions, feel free to reach out!

Have a good one,
Vlad