#65 Support JSONP
Closed 6 years ago Opened 6 years ago by pingou.

There may be application (such as bodhi) that are interacting with greenwave via javascript, this means they currently run into:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://greenwave-web-greenwave.app.os.stg.fedoraproject.org/api/v1.0/decision.

We should add JSONP support to greenwave to solve that.


Hmm should we maybe make Greenwave just serve the right CORS headers so that the AJAX request is permitted instead? Or we could do both.

It seems CORS headers were added in #66.

Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

6 years ago

We did but I still wonder if supporting JSONP shouldn't be added as it makes integrating with greenwave much easier and does not involve touching what is essentially a whitelist.

Login to comment on this ticket.

Metadata