In 3.1.4, the `aud` is always the `client_id`. The client id generically represents the resource (I e. the application that requested the token).
In version 4.0 we will offer more flexibility about how to populate the value for `aud`. In 3.1.5, you could use a token introspection interception script (new feature).