Auth0 Home Blog Docs

How do I use the verify database action script to verify a users email address?

auth0
verify-email

#1

From reading through this doc, it seems like i should updateMyDatabase() -> callback(null, true), however that’s not working.

My database is updated successfully, however auth0 is not updated even though my user is always redirected to something like: https://.../?supportSignUp=true&supportForgotPassword=true&email=...snip...&message=Your%20email%20was%20verified.%20You%20can%20continue%20using%20the%20application.&success=true.

Auth0 finally updates the auth0 user record after the user logs off and back in – which triggers the login action script, which finally forces auth0 to update. That can’t be right. Right?