Non whitelist users receiving "Verify your email" email

Is it possible to turn off the “Verify your email” emails to non-whitelist email handles?

I’ve 2 rules (from the auth0 rule template)

  • Email domain whitelist (with a list of domains)
  • Force email verification

Cheers.

Hi @david.riches,

I believe the only way to do this is to set user.email_verified=true in the users profile, possibly with a rule or hook if you can code the logic for a trigger, possibly IF NOT whitelist THEN email_verified=true.

2 Likes

Thanks, I did it in localstorage in the end dependant on the error message being passed through from auth0.