Auth0 Dashboard Displays Blank Page When Configuring Passwordless Email Connection

Overview

This article explains why a blank page and TypeScript errors occur when attempting to configure a Passwordless Email connection. The issue manifests after navigating to the connections page and selecting the Configure button for the Email connection.

Applies To
  • Passwordless Email
  • Auth0 Management Dashboard
  • Management API
Cause

This issue occurs when updating a connection through the Management API and omitting the specific email fields within the options object. When a PATCH request is executed against the Update a connection endpoint without including the body, from, syntax, and subject fields, the connection breaks.

 

NOTE: If the options parameter is used, the entire options object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. 

 

 

Solution

Update the connection using the Management API to restore the missing email configuration.

  1. Navigate to Update a connection endpoint in the Management API documentation.

  2. Execute a PATCH request to the specific connection ID, including the necessary email option fields.

Example request:

curl -L -X PATCH 'https://<canonical_domain>/api/v2/connections/<connection_id>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{"options":{"email":{"body":"","from":"","syntax":"liquid","subject":""}}}'

Recommended content

No recommended content found...