Commit Graph

4 Commits

Author SHA1 Message Date
Arnaud Cogoluègnes 8cf4c1513a Document how to get short-lived OAuth token
In OAuth testing seed script.

[#158496811]
2019-07-31 14:44:24 +02:00
Diana Corbacho b48265a8c1 Allow redirect to any RMQ page from UAA
[#158496811]
2019-07-31 10:40:00 +01:00
Arnaud Cogoluègnes ba983926c2 Clean seed script to OAuth demo
[#158496811]
2019-07-24 15:27:36 +02:00
Diana Corbacho 1e02f6b716 Management UI can obtain an OAuth 2 token from UAA/CF SSO service
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]
2019-07-23 16:25:52 +01:00