Open k-wall opened 4 years ago
I'm seeing the same thing in an Openshift cluster when using AMQ Interconnect Router (customised Qpid Dispatch Router) to connect to RabbitMQ. As far as I can tell there is no way to prevent the dispatch router from sending the authzid which means that a connection is never established. Is there any kind of workaround for this because I'm now at my wits end?
@IDonut I ended up using TLS client auth for authentication to side step the problem.
Brilliant, thanks @k-wall. I've done the same thing. It seems like an incredible over-complication for something that should be so simple but at least it works.
I am trying to connect software that uses Apache Qpid Proton to RabbitMQ. I wish to authenticate with user name and password. I notice that the SASL PLAIN authentication fails if the initial-response includes a non-zero
authzid
part.Demonstrating the issue with Qpid Proton CPP example simple_connect (0.30.0) on Fedora release 31.
On the RabbitMQ side, I see the following:
I don't think RabbitMQ has the concept of one user assuming the identity of another, but if
authzid == authcid
(as is my case here), I think RabbitMQ ought to accept the authentication.If I try with a client that does not send the authzid part I see no problem.