Custom Login Page Update Is Not Reflected

Last Updated: Sep 12, 2024

Overview

In the Auth0 dashboard > Branding > Universal Login > Login , a custom login page has been specified. When the HTML is updated, the preview shows an updated login, but after it is saved, the actual login page of the application is not updated.

Applies To

  • Custom Login Page
  • Universal Login
  • One or more pages are using custom HTML

Solution

Use the Get client by ID to query for the application and look for the below fields in the response:

  • custom_login_page_on
  • custom_login_page
  • custom_login_page_preview

If these values are set, they can override the values set in Branding > Universal Login > Login .

  • To use the same login page as the one set in Branding > Universal Login > Login, send the Update a Client request with the below payload:
    { custom_login_page: "" }