rabbitmq / rabbitmq-oauth2-tutorial

Explore integration of RabbitMQ with Oauth 2.0 auth backend plugin
42 stars 23 forks source link

Cant see SSO login button on rabbitmq login page with keycloak #13

Closed sossnowski closed 1 year ago

sossnowski commented 1 year ago

I am using the newest branch and I did not do changes in repo but I am not able to connect rabbitmq with keycloak. I used export MODE=keycloak, but in logs I have 2022-12-19 14:36:05.614216+00:00 [warning] <0.818.0> Disabling OAuth 2 authorization, missing relevant configuration in management plugin and I dont see "Click here to login" I have only basic rabbitmq login page. What can be wrong? Thanks

MarcialRosales commented 1 year ago

@sossnowski sorry for the late reply. I am not able to reproduce the issue you are having. I have upgraded the repo to RabbitMQ 3.11.7 and added a section to the keycloak scenario for accessing the management ui with the appropriate credentials. This section was missing.

sossnowski commented 1 year ago

Problem was that I did not add client secret in config file. Sorry and Thanks

MarcialRosales commented 1 year ago

I see. However, the rabbitmq-client-code is configured in keycloak as public hence you should not need to configure any oauth_client_secret in RabbitMQ. ...