Auth0 Home Blog Docs

Retrieve app_metadata in JWT access token for machine to machine application with Client Credentials Flow

#1

I saw a previous post (now locked) about this, but when I add app_metadata to the Machine-to-Machine Application, the access token request does not return a token that contains the app metadata.

Do I need to add a rule? Is it possible to make a generic rule for a class of Machine-to-Machine applications that all access the same API?

Making a request to:
https://MYDOMAIN.auth0.com/oauth/token

Specifying grant_type as client_credentials and audience for the API.

#2

Can anyone provide insight on this?