RabbitMQ with oAuth2 fails to connect with bad username and password #4273
-
RabbitMQ as MQTT broker with oAuth2 plugin is not accepting token being passed. https://github.com/rabbitmq/rabbitmq-server/tree/master/deps/rabbitmq_auth_backend_oauth2 The client is spring boot based. We use paho client to establish connection. We are running RabbitMQ broker on Kubernetes using cluster operator. We are trying to have jwt token based access control along with client certificate based authentication and topic permission based authorization. following is the yaml to configure and deploy RabbitMQ:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Thank you for a pretty comprehensive set of information. It's smart to not try to also use TLS at this point in time. In order for us to assist you, we will need debug level logs from RabbitMQ. To do that, add the following to
In addition, remove the following from
Please do the above and re-try your scenario. Afterward, attach your complete log files from all cluster nodes to your response. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hallo Team, I need small help..i would like authenticate rabbitmq with oauth2.0 with jwks_url. i am getting below error My configuration is like below advanced.config [ ]} rabbitmq.conf loopback_users.guest = false auth_oauth2.https.peer_verification = verify_peer ssl_options.fail_if_no_peer_cert = true log.console.level = debug Docker file COPY enabled_plugins /etc/rabbitmq RUN ls /etc/rabbitmq Kindly help me |
Beta Was this translation helpful? Give feedback.
Thank you for a pretty comprehensive set of information. It's smart to not try to also use TLS at this point in time. In order for us to assist you, we will need debug level logs from RabbitMQ. To do that, add the following to
additionalConfig
:In addition, remove the following from
additionalConfig
for now:Please do the above and re-try your scenario. Afterward, attach your complete log files from all cluster nodes to your response. Thanks.