Some authorization servers may require audience parameter to be passed to the token endpoint.
Add oauth.audience config option for client and server config.
Use existing oauth.scope on the server to get scope parameter value to pass to the token endpoint when OAuth over PLAIN is used (was already being passed for inter-broker authentication).
Some authorization servers may require
audience
parameter to be passed to the token endpoint.oauth.audience
config option for client and server config.oauth.scope
on the server to get scope parameter value to pass to the token endpoint when OAuth over PLAIN is used (was already being passed for inter-broker authentication).Signed-off-by: Marko Strukelj marko.strukelj@gmail.com