I am using OAuth 2.0 with JWT in my application and I am having trouble choosing what to install as my aud requirement. A user will access my client through my authentication server in order to access my API server (resource). I want my tokens to be valid only for use with a specific client and specific API.

When entering from my client, I include its client_id in the request, but in the more I found , the aud parameter is set to client_id . I tend to specify the audience_id client field in my login request and then set the aud token to the client_id and audience_id client_id , but it seems like it just means that this token is valid for both audiences , which makes me think that I should simply add a user requirement called client to specifically indicate that this token was created for a particular client.
I have not seen any of the online implementations that include both client_id and audience_id in the OAuth login request, and I do not see the reserved requirement for client in the specification .
Am I missing something?
What is best for specifying different client_id and audience_id in JWT?
Greg
source share