Coder Social home page Coder Social logo

Comments (9)

uvzubovs avatar uvzubovs commented on September 15, 2024 1

+10

Being able to access management API from JavaScript (XHR) is very useful in developing dashboards that complement Rabbit management UI and don't provide access to queue/exchange manipulation, which is the #1 reason for restricting access to management UI in production.

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on September 15, 2024

@carlhoerberg sounds like I good idea. I think it may be noticed quicker if you post this to the mailing list.

from rabbitmq-management.

simonmacmullen avatar simonmacmullen commented on September 15, 2024

Well, it would certainly be a bad idea to add "Access-Control-Allow-Origin: *"; this is a security thing after all. Allowing you to configure mgmt so that it allows custom headers to be set would be OK I guess.

from rabbitmq-management.

carlhoerberg avatar carlhoerberg commented on September 15, 2024

indeed, just didn't want to make it more complicated.. maybe just a configuration option for the host value is enough.

from rabbitmq-management.

ceefour avatar ceefour commented on September 15, 2024

+1 for this. We're already using pure HTML5 RabbitMQ clients now using SockJS+stomp.js but it can only connect to the same RabbitMQ server as the web server IP due to this issue :(

from rabbitmq-management.

ceefour avatar ceefour commented on September 15, 2024

Sorry for unassigning @simonmacmullen. It must've been a GitHub bug... as I have no privileges whatsoever in this repo

from rabbitmq-management.

ceefour avatar ceefour commented on September 15, 2024

Mailing list thread: http://rabbitmq.1065348.n5.nabble.com/CORS-in-the-mgmt-http-api-td25693.html

However I just noticed that this is talking about rabbitmq-management, while what I'm looking for is CORS for rabbitmq_web_stomp plugin.

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on September 15, 2024

@ceefour file a similar issue there, explaining what the current limitations are.

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on September 15, 2024

Now that rabbitmq/rabbitmq-web-stomp#12 is fixed, I think this can be closed unless someone comes up with more specific improvements.

from rabbitmq-management.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.