Auth0 Home Blog Docs

How do I get app_metaData to appear in JWT authtoken for a machine to machine application?

auth0
machine-to-machine

#1

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?


#3

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!


#4

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