Password change URL does have have custom domain

Problem statement

We are creating a password change ticket with the Management API. The URL generated is <tenant_name>.us.auth0.com. We wonder if there is a way we can pass a param for it to use our custom domain. We have Custom Domain set up on the tenant.

Symptoms

The password change ticket URL has the canonical domain, not the custom domain.

Steps to reproduce

  1. disable the “Use Custom Domain in Emails” option under the Custom Domain settings.
  2. call the POST https://{{auth0_domain}}/api/v2/tickets/password-change endpoint (Auth0 Management API v2)
  3. the ticket URL includes the tenant’s canonical domain, not the custom domain.

Cause

The “Use Custom Domain in Emails” option is not enabled to include your custom domain in the change password ticket URL.

Solution

Please enable the “Use Custom Domain in Emails” option to include your custom domain in the change password ticket URL.

1 Like