Custom Login Page updates not showing on Universal Login

Problem Statement

In the Auth0 dashboard, we have specified a custom login page. When the HTML is updated, the preview shows an updated login, but if saved, the actual login page of our app is not updated.

Symptoms

  • When the HTML is updated, the preview shows an updated login, but if saved, the actual login page of our app is not updated.

Cause

  • Having the custom_login_page value set for a particular application overrides the global client custom page, namely, the Universal Login Page.

Solution

The solution is to begin by checking with the Management API that you can query the Get a client endpoint with your Application ID, and look for the “custom_login_page” value to see if it matches the desired HTML.

To get your SPA to use the same login as the global client, we recommend that you send a PATCH request to the Update a client endpoint with the following body:

{
custom_login_page: ""
}