Updating the user.email_verified boolean in "real-time"

Hi @MatthewB,

Welcome to the Auth0 Community!

You will need to poll the userinfo endpoint or get a new token to tell if the user has verified their email using this approch.

A typical approach with Auth0 would be to handle this in an action (check for email_verified) and return an error if not. If your app is returned the error, tell the user to verify their email and then have a button to reauthenticate.

Here’s an example:

1 Like