Skip to content
Redmine plugin to allow external application to use Redmine REST API with cross-origin resource sharing
Ruby HTML
Branch: develop
Clone or download
Pull request Compare This branch is 5 commits ahead of mcfedr:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
lib/redmine_cors/patches
README.md
init.rb

README.md

Redmine CORS

Redmine plugin to allow external application to use Redmine REST API with cross-origin resource sharing, aka CORS.

If you have a browser application that requires access to the Redmine API from a different domain your browser will block the request. This plugin returns the headers expected by the browser to complete request and consume the API.

Install

Clone the current repo into the plugins directory:

cd $REDMINE_ROOT
git clone git://github.com/smallcubed/redmine_cors.git plugins/redmine_cors

and restart webserver to reload the plugins (no need to run any rails scripts for updating the database).

Setup

In the administration area, click on the Plugin section. You need to configure the domains that are allowed to access your REST API. Use '*' to allow access from all locations. You can also configure all of the allow headers and methods and set the age as well.

History

This plugin was created by Marco Vito Moscaritolo (http://github.com/mavimo) and has been updated by (http://github.com/llange) and Fred Cox (http://github.com/mcfedr) as well.

You can’t perform that action at this time.