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

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.

Can anyone provide insight on this?

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?