Missing Tenant Logs for Auth0 Email Verification Sent at Signup With Flexible Identifiers and Attributes

Overview

After enabling email verification for the signup flow with the Flexible Identifiers and Attributes in the Auth0 database, Auth0 sends an email during the signup. However, Auth0 does not generate tenant logs for the sent verification email due to a limitation in the current product functionality. To resolve this, configure a custom email provider to send emails and generate event logs based on the message type attribute with a custom Action code.

 

Username-Password-Authentication

Applies To

  • Auth0
  • Custom Email Provider
  • Tenant Logs
  • Email Verification 

Cause

Auth0 currently does not generate tenant logs for verification emails sent during signup with Flexible Identifiers and Attributes due to a limitation in the current product functionality.

Solution

How are tenant logs generated for verification emails sent during signup?

Configure a custom email provider to send emails and generate event logs based on the message_type attribute in the event.notification object within the Action. Review the following snippet to see how the message type attribute is structured within the event notification object.

Email verification by code:

event.notification: { message_type: 'verify_email_by_code', to: 'test@test.com', ....}

Email verification by link:

event.notification: { message_type: 'verify_email', to: 'test@test.com', ....}

Recommended content

No recommended content found...