rabbitmq / rabbitmq-auth-backend-http

HTTP-based authorisation and authentication for RabbitMQ
Other
199 stars 72 forks source link

Integration with Web Stomp #12

Closed VinayNadig closed 8 years ago

VinayNadig commented 9 years ago

Hello,

We are using rabbitmq_web_stomp plugin with stomp.js & sock.js to connect to the RMQ broker. We are using the username & password as the means of authentication. But it looks like the authentication bypasses this plugin completely and connects with the provided credentials without making a call to configured auth endpoints.

Is there any configuration required or is it possible to use this plugin with the web stomp plugin?

Thanks

michaelklishin commented 9 years ago

So connection from Sock.js authenticates in a way that ignores the configured backend, is my understanding correct?

VinayNadig commented 9 years ago

Yes, that is correct. Is there any way that this can be changed?

michaelklishin commented 9 years ago

I find it hard to believe that WebSTOMP bypasses our internal authentication API. Need to take a look.

bradjorgensen commented 9 years ago

I'm using this plugin for auth and web-stomp and it is working as expected.