# How do I get app\_metaData to appear in JWT authtoken for a machine to machine application?

**URL:** <https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457>\
**Category:** JWT.io\
**Tags:** machine-to-machine, auth0\
**Created:** [October 31, 2018, 8:26pm UTC](https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457 "2018-10-31T20:26:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![athomas](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/athomas/32/13807_2.png) [@athomas](https://community.auth0.com/u/athomas)\
**Post date:** [October 31, 2018, 8:26pm UTC](https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457/1 "2018-10-31T20:26:38Z")

</div>

I set application metadata on the machine to machine application, but I can’t seem to figure out how to get that data to appear in the authtoken. How do I do that?

---

<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:** [November 2, 2018, 8:32am UTC](https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457/3 "2018-11-02T08:32:34Z")

</div>

Hey @athomas!

Application metadata are custom string keys and values (each of which has a character maximum of 255), set on a per application basis. Metadata is exposed in the Application object as client\_metadata, and in Rules as context.clientMetadata.

Let me know if that helps!

---

<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:** [November 5, 2018, 10:09am UTC](https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457/4 "2018-11-05T10:09:22Z")

</div>

Hey @athomas! Have you been able to achieve what you want eventually?

Let me know if you need further assistance!

---

<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 5, 2018, 10:09am UTC](https://community.auth0.com/t/how-do-i-get-app-metadata-to-appear-in-jwt-authtoken-for-a-machine-to-machine-application/17457/5 "2018-12-05T10:09:22Z")

</div>

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