Problem Statement:
We customized New Universal Login using No-Code Customizations. After making changes, we do not see the customizations and receive an unexpected login page when using a custom domain with the /authorize endpoint.
Solution:
When using the custom domain, auth0 will use the UL Template instead of the no-code customizations. And the tenant domain will show the no-code customizations.
To solve this, please delete the existing page template using the Management API so that the no-code customizations will be showing when using both the tenant URL and the custom domain.
curl --request DELETE \ –url 'https://YOUR_DOMAIN/api/v2/branding/templates/universal-login’; \ –header ‘authorization: Bearer MGMT_API_ACCESS_TOKEN’