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>
<head>
{%- auth0:head -%}
</head>
<body>
{%- auth0:widget -%}
</body></html>
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?
Hello,
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:
https://auth0.com/docs/api/management/v2#!/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:
https://auth0.com/docs/customize/universal-login-pages/customization-classic
I hope this helps!
2 Likes