Comments (9)
+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.
@carlhoerberg sounds like I good idea. I think it may be noticed quicker if you post this to the mailing list.
from rabbitmq-management.
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.
indeed, just didn't want to make it more complicated.. maybe just a configuration option for the host value is enough.
from rabbitmq-management.
+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.
Sorry for unassigning @simonmacmullen. It must've been a GitHub bug... as I have no privileges whatsoever in this repo
from rabbitmq-management.
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.
@ceefour file a similar issue there, explaining what the current limitations are.
from rabbitmq-management.
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)
- unable to grant a user permissions to a custom topic via web ui HOT 2
- Add headers to HTTP logging HOT 2
- jquery 3.4.1 has security vulnerabilities and needs to be upgraded
- Make it possible to configure stats_event_max_backlog via new style format HOT 1
- Respect management.load_definitions for backwards compatibility
- UI fails to load with a ReferenceError: login_route is not defined in Firefox after an upgrade HOT 4
- Make it possible to configure rabbitmq_management.management_db_cache_multiplier via rabbitmq.conf
- When upgrading to a new version, JS is cached HOT 1
- Get Message can't deal unicode HOT 4
- Double encoded JSON payload 500s HOT 5
- Failed healthchecks return HTTP 200 status HOT 4
- UI: Policy definition with empty value not sent to API HOT 2
- Expose key individual health checks via HTTP API
- The 'unack' value is negative number HOT 2
- Disable HTTP OPTIONS method or make it configurable HOT 2
- unexpected_trailing_sections,{{'v1_0.delivery_annotations', HOT 1
- Missing confirm metrics from /api/exchanges/?message_stats HOT 2
- API request to aliveness-test when message-ttl is 0 results in a 500 HOT 1
- TLS listener port is reported incorrectly by `rabbitmq-diagnostics listeners` HOT 8
- Documentation: Example of Apache Reverse Proxy config does not work with 2.4+ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-management.