Custom Domain Not Working in Email

Overview

This article explains why the custom domain was still being used in email links(e.g. verification emails), although the tenant had lost the ability to use the custom domains.


 

Cause

This is the tenant flag enable_custom_domain_in_emails that changes to "true" or "false" with this toggle.

Screenshot 2024-08-22 at 10.36.17 AM.png

Solution

Since this toggle cannot be switched on/off because of the lack of a custom domain, tenant settings will need to be patched.
Use the Management API endpoint to update the tenant settings with the following body:
{
  "flags": {
    "enable_custom_domain_in_emails": false
  }
}

Recommended content

No recommended content found...