# How to access user.app\_metadata from password reset page?

**URL:** <https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128>\
**Category:** Get Help\
**Tags:** branding, email, password-reset, lock, login\
**Created:** [June 8, 2021, 7:34pm UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128 "2021-06-08T19:34:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammadz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohammadz/32/13482_2.png) [@mohammadz](https://community.auth0.com/u/mohammadz)\
**Post date:** [June 8, 2021, 7:34pm UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/1 "2021-06-08T19:34:42Z")

</div>

Hi,

Is it possible to access user’s app\_metadata in the password reset template in universal login? My question is very similar to the [following](https://community.auth0.com/t/user-metadata-in-change-password-email-template/12733). I wondering if this is doable or if any alternative method exists?

Thanks,  
@mohammadz

---

<div class="post-metadata">

**Author:** ![craig4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/craig4/32/15439_2.png) [@craig4](https://community.auth0.com/u/craig4)\
**Post date:** [June 9, 2021, 8:40am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/2 "2021-06-09T08:40:20Z")

</div>

Yes I believe it should be possible.

> **[Customize Email Templates](https://auth0.com/docs/customize/email/email-templates)**
>
> Learn how to customize your emails with Liquid templating syntax.

In the common variables section you can see that `user.app_metadata` is available in email templates.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 9, 2021, 11:45am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/3 "2021-06-09T11:45:16Z")

</div>

Thanks for sharing that with the rest of community!

---

<div class="post-metadata">

**Author:** ![mohammadz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohammadz/32/13482_2.png) [@mohammadz](https://community.auth0.com/u/mohammadz)\
**Post date:** [June 9, 2021, 3:37pm UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/4 "2021-06-09T15:37:19Z")

</div>

Hi,

Ok that’s good to know. Can you access the user.app\_metadata in the html of the password reset form under universal login?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 10, 2021, 8:31am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/5 "2021-06-10T08:31:13Z")

</div>

Unfortunately I don’t think it’s possible

---

<div class="post-metadata">

**Author:** ![craig4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/craig4/32/15439_2.png) [@craig4](https://community.auth0.com/u/craig4)\
**Post date:** [June 10, 2021, 8:35am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/6 "2021-06-10T08:35:29Z")

</div>

Yes I think I agree that it won’t be possible.

The relevant docs are here:

> **[Universal Login Pages](https://auth0.com/docs/customize/universal-login-pages)**
>
> Explore topics related to Universal Login Pages

Specifically there is a line that states

“Information about the current user, for pages rendered after the user authenticates” → after the user is authenticated you would be able to see the app\_metadata but in a password reset form there is, by its nature, no user that is authenticated.

Here are the available general branding options:

[https://auth0.com/docs/universal-login/prompt-reset-password](https://auth0.com/docs/universal-login/prompt-reset-password)

---

<div class="post-metadata">

**Author:** ![mohammadz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohammadz/32/13482_2.png) [@mohammadz](https://community.auth0.com/u/mohammadz)\
**Post date:** [June 10, 2021, 8:54am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/7 "2021-06-10T08:54:55Z")

</div>

Hi thanks for the update. I was under the assumption page was rendered server-side. I learned that page is not considered to be in an authenticated state therefore no app\_metadata.

Is there any other metadata that I can use on that form? I want to be able to use liquid syntax to change some of the html in response to whatever metadata is set.

Oh I read the relevant doc links, looks like this applies to new universal login. I use the classic universal login. So I’ll check out the new universal login to see how much more I can customize.

---

<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:** [June 25, 2021, 8:55am UTC](https://community.auth0.com/t/how-to-access-user-app-metadata-from-password-reset-page/64128/8 "2021-06-25T08:55:21Z")

</div>

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