WordPress Error: This Site Requires a Verified Email Address

Overview

This article explains a potential cause of the following error when users with more than one Auth0 connection attempt to log into WordPress:

This site requires a verified email address

Applies To

  • WordPress
  • Multiple Connections

Cause

This happens when a user previously logged into the WordPress app with one connection using a particular email address and then tries to log in with the same email address via a different connection.


Solution

Limit the connections the WordPress Auth0 plugin uses, either through the Auth0 Dashboard, under connections, or through the WordPress settings Features > Auto Login Method.

  • There is also an Auth0 extension called the "Auth0 Account Link" extension which can prompt users to link their accounts when they attempt to authenticate in a situation like this, which should help resolve this error as well.

After making these changes, if there are WordPress accounts assigned to Auth0 users incorrectly and those users cannot log in:

  1. Go to the Auth0 user dashboard, find the correct instance of the user, and copy their user ID
  2. Access the WordPress MySQL database and locate the WordPress account within the wp_usermeta table
  3. Change the associated wp_auth0_id value to match the correct Auth0 user ID

Recommended content

No recommended content found...