
Setting the claims
The JWT payload requires four claims (iss, sub, aud, exp) and one optional claim (jti).
Issuer (iss)
Identifies who is making the request. Use your client ID.
Subject (sub)
Identifies who the access token should be assigned to. Use your client ID.
Audience (aud)
Always set this to m2m-token.