Can't get custom HTML to work with Universal Login

Hi all,

I m trying to customize the login HTML and have enabled New Universal Login

and changed the HTML to something simple:

<!DOCTYPE html><html>
    {%- auth0:head -%}
    {%- auth0:widget -%}

I have also enabled custom domains

However when I point my browser to the custom domain login page I see a plain html like so:

{%- auth0:head -%} {%- auth0:widget -%}

Anything I m doing wrong?


Per your screenshot, you updated and enabled the code under the Login tab. As per the yellow notification, “using custom HTML will override the Universal Login Experience” to Classic.

As far as I understand, you would like to use the New Universal Login. If that’s the case, you should update the template via the Management API. You can set your Access Token and use the API Explorer to do such updates:!/Branding/put_universal_login

Please don’t forget to disable the Customize Login Page under the Login tab.

If you would like to stick with Classic, you can customize a template as per the instructions below:

I hope this helps!