M2M JWT signing metadata

The Actions that run in this scenario have a function to add claims to the tokens.
api.accessToken.setCustomClaim(name, value)
You could populate it using event.client.metadata["your_metadata_attribute"]