# Render json type application metadata value in Page templates

**URL:** <https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 14, 2025, 5:27pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193 "2025-02-14T17:27:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruchika.kumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ruchika.kumar/32/72923_2.png) [@ruchika.kumar](https://community.auth0.com/u/ruchika.kumar)\
**Post date:** [February 14, 2025, 5:27pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193/1 "2025-02-14T17:27:55Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
Hello, I have an application with metadata key “test” and value {“title”:“New here?”} and i am trying to render the title value inside a Page template. I have tried belo code but this doesn’t work.

```auto
  <body class="_widget-auto-layout">
    {%- auth0:widget -%}
  
    {% assign foo = application.metadata.test | json %}
    {% assign bar = foo.title %}
    {{ bar}}
  </body>

```

I have also tried `{% assign foo = application.metadata.test.title | json %}` and `{% assign bar = foo.title | json %}` but nothing works.

![image](https://global.discourse-cdn.com/auth0/original/3X/4/c/4cacb766a2e9e97840f03d864bbf7102363ef142.png)

---

<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:** [February 14, 2025, 5:53pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193/3 "2025-02-14T17:53:39Z")

</div>

Hi @ruchika.kumar

Welcome back to the Auth0 Community!

I would recommend to review this documentation about [Application Metadata](https://auth0.com/docs/get-started/applications/configure-application-metadata).

The application metadata set would be accessed as `client.metadata`, in your case it would be `client.metadata.test`.

Let me know if that helps you solve the issue!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![ruchika.kumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ruchika.kumar/32/72923_2.png) [@ruchika.kumar](https://community.auth0.com/u/ruchika.kumar)\
**Post date:** [February 15, 2025, 5:37pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193/4 "2025-02-15T17:37:19Z")

</div>

Hi @nik.baleca,  
Thanks for your response. I am following these docs [https://auth0.com/docs/customize/login-pages/universal-login/customize-templates#page-footers](https://auth0.com/docs/customize/login-pages/universal-login/customize-templates#page-footers)

I also tried your recommendation but that doesn’t work… If you see in the screenshot, I get the values using `application.metadata` but not `client.metadata`.  
I would like to further render the value of `application.metadata.test` (type json) in my Page template which I am struggling with.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/a/eab64cc80b339104070c6f996e76e785c988b071.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/2/b25a849fd1a4ce69c31f0be46854a6718752d9d2.png)

---

<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:** [February 17, 2025, 5:04pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193/5 "2025-02-17T17:04:31Z")

</div>

Hi @ruchika.kumar

Unfortunately, application metadata (or client metadata) value cannot contain child attributes or have values under JSON format, unlike app\_metadata or user\_metadata. Even when updating the client metadata using the Management API, the outcome will be an error 400 since the expected format is **String** not **JSON**.  
I would advise you to visit our [Feedback](https://community.auth0.com/c/feedback/95) page and post regarding implementing this feature.

Kind Regads,  
Nik

---

<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:** [March 3, 2025, 5:04pm UTC](https://community.auth0.com/t/render-json-type-application-metadata-value-in-page-templates/182193/6 "2025-03-03T17:04:49Z")

</div>

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