Auth0 Home Blog Docs

Set email_verified in Auth0Lock

signup
auth0lock
email_verified

#1

Is email_verified available as a configuration option for the Auth0Lock widget? Would like to set this flag to true so that the Signup can automatically log the user in. I know this is available via the dashboard to set email as verified for all users but would like to know if it’s available as configuration option instead.


#2

Auth0 will log the user in by default, even if the email_verified flag is false. Can you ensure you don’t have any Rules enabled that will block the user from logging in if email_verified is false.


#3

Yes, we do have a rule that blocks the user from logging in if email_verified is false. This is why I would like to set that flag to true when using the SignUp from the Auth0Lock widget. Is there a way to do so using the widget?


#4