To use UAA authorization the rabbitmq-auth-backend-oauth2 must be enabled.
The oauth client must be configured with the scopes: ["openid", "rabbitmq.*]
Follow the instructions to run UAA on that plugin:
https://github.com/rabbitmq/rabbitmq-auth-backend-oauth2#running-uaa
A configuration script is provided in this plugin on scripts/seed.sh,
to add an Oauth user for testing: rabbit_user with password: rabbit_password
Management config:
[
{enable_uaa, true},
{uaa_client_id, "rabbit_user_client"},
{uaa_location, "http://localhost:8080/uaa"}
]
[#158496811]