# Customized Universal Login Templates return undefined when using custom ui

**URL:** <https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438>\
**Category:** Get Help\
**Tags:** branding, classic-universal-login-customizations\
**Created:** [October 21, 2025, 6:33am UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438 "2025-10-21T06:33:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![IBN511](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ibn511/32/73166_2.png) [@IBN511](https://community.auth0.com/u/IBN511)\
**Post date:** [October 21, 2025, 6:33am UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/1 "2025-10-21T06:33:41Z")

</div>

Hello,

I’m trying to use a custom template for one of the login pages in the universal login (passkey-enrollment).

We’re also using a custom page template that I’ve updated via the Page templates API. That works fine for all screens. It includes both {%- auth0:head -%} and {%- auth0:widget -%}

The configuration for the custom screen is as follow:

- Advanced mode
- Page template: use custom template (checked)
- Advanced mode filters:
  - Use custom ui (we’ve applied some branding using the dashboard)
  - Application: specific one

- Head tags: adapted with the required files after the react screen build

Now, when reaching that page, if NOT using “custom ui” it works, showing my custom screen, but it lacks the branding we’ve applied in the dashboard.

If it IS using “custom ui”, then I can see “the branding” (at least the background image) BUT the body is just “undefined”.

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 28, 2025, 6:07pm UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/3 "2025-10-28T18:07:02Z")

</div>

Hi @IBN511

Welcome to the Auth0 Community!

I am sorry about the delayed response to your inquiry!

By any chance, are the Head Tags similar to previous ones you have used in the other customized screens and do you include the same Additional Data or different ones?

Could you share the name of the tenant via a DM so i can check out your configuration if you still experience issues?

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![IBN511](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ibn511/32/73166_2.png) [@IBN511](https://community.auth0.com/u/IBN511)\
**Post date:** [October 29, 2025, 6:32am UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/4 "2025-10-29T06:32:57Z")

</div>

Hello Nik,

Unfortunately this is the only advanced customized screen we want to use so I do not have any point of reference.

How do I DM you?

Chris

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 29, 2025, 3:02pm UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/5 "2025-10-29T15:02:17Z")

</div>

If you click on my profile icon in this thread, you should see a **Message** option, if you cannot DM me, please let me know!

Thanks!

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [November 14, 2025, 5:37pm UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/6 "2025-11-14T17:37:18Z")

</div>

Hi again @IBN511

I have not heard back from you regarding the issue.

For the time being, I will be marking this reply as a solution. You can always respond in the 14 day time frame to notify me if you still need help or you can open a new topic and reference this one.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![IBN511](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ibn511/32/73166_2.png) [@IBN511](https://community.auth0.com/u/IBN511)\
**Post date:** [November 25, 2025, 1:23pm UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/7 "2025-11-25T13:23:42Z")

</div>

Hi, sorry for the late reply.

I unfortunately do not see a message button on your profile.

Best,

Christophe

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 9, 2025, 1:23pm UTC](https://community.auth0.com/t/customized-universal-login-templates-return-undefined-when-using-custom-ui/193438/8 "2025-12-09T13:23:58Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
