Hi Marcial,
As you suggested i have upgraded my rabbitmq version to 3.11.13
I tried it my local but the i am getting the below error when i tried access the rabbitmq-management ui with clientid and client secret
Error
023-04-14 22:15:32 demo-broker | 2023-04-14 16:45:32.522806+00:00 [warning] <0.892.0> HTTP access denied: Authentication using an OAuth 2/JWT token failed: provided token is invalid
2023-04-14 22:16:34 demo-broker | 2023-04-14 16:46:34.773457+00:00 [warning] <0.894.0> HTTP access denied: Authentication using an OAuth 2/JWT token failed: provided token is invalid
rabbitmq.conf
```
default_user = john123
default_pass = 123456
listeners.tcp.default = 5672
management.tcp.port = 15672
management.load_definitions = /etc/rabbitmq/definitions.json
auth_backends.1 = rabbit_auth_backend_oauth2
management.oauth_enabled = true
management.oauth_client_id = "rabbitmq-mgmt"
management.oauth_client_secret = "zcfLy7QiNbIbJ1mKlk9GKOZsBrfpOA4H"
management.oauth_scopes = openid profile rabbitmq.tag:administrator
management.oauth_provider_url =
http://keycloak:8080/realms/master/protocol/openid-connect/authauth_oauth2.resource_server_id = rabbitmq
```
Keycloak Server Details
Server info
Version: 21.0.2Product: Default
Client-Details: Attached below as file