# Deploying new universal login page template

**URL:** <https://community.auth0.com/t/deploying-new-universal-login-page-template/139762>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [July 26, 2024, 9:12am UTC](https://community.auth0.com/t/deploying-new-universal-login-page-template/139762 "2024-07-26T09:12:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhautala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhautala/32/33331_2.png) [@mhautala](https://community.auth0.com/u/mhautala)\
**Post date:** [July 26, 2024, 9:12am UTC](https://community.auth0.com/t/deploying-new-universal-login-page-template/139762/1 "2024-07-26T09:12:19Z")

</div>

We are trying to do exactly the same as in this post and deploy the new universal login page template using the auth0 deployment client: ([Deploy Customized Universal Login Page with Auth0 Deploy CLI](https://community.auth0.com/t/deploy-customized-universal-login-page-with-auth0-deploy-cli/126646))

But we are getting errors:

```auto
2024-07-05T08:55:25.722Z - error: Problem running command import during stage processChanges when processing type tenant
2024-07-05T08:55:25.722Z - error: Payload validation error: 'Additional properties not allowed: templates' on property universal_login (Universal login customization settings).
2024-07-05T08:55:25.722Z - info: Please refer to the Auth0 Management API docs for expected payloads: https://auth0.com/docs/api/management/v2

```

This is in the tenant.json

```auto
  "universal_login": {
    "colors": {
      "page_background": "#1450f5",
      "primary": "#1450f5"
    },
    "templates": [
      {
        "template": "universal_login",
        "body": "./branding-template/universal_login.html"
      }
    ]
  }

```

In folder branding-template/universal\_login.html we have the page template.

---

<div class="post-metadata">

**Author:** ![mhautala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhautala/32/33331_2.png) [@mhautala](https://community.auth0.com/u/mhautala)\
**Post date:** [August 9, 2024, 9:35am UTC](https://community.auth0.com/t/deploying-new-universal-login-page-template/139762/2 "2024-08-09T09:35:49Z")

</div>

Found the solution by reverse engineering by deploying the page template with management api ant then exporting the configuration.

Correct structure is to have page template html and json file in branding/templates folder like this:

![image](https://global.discourse-cdn.com/auth0/original/3X/5/9/596148f525b6a2a36c03e00137c6f082c9733f4a.png)

The universal\_login.json file contents:

```auto
{
  "template": "universal_login",
  "body": "./universal_login.html"
}

```

With that structure auth0 deployment client deployed the page template.

---

<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:** [May 9, 2025, 5:53pm UTC](https://community.auth0.com/t/deploying-new-universal-login-page-template/139762/3 "2025-05-09T17:53:11Z")

</div>

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