Accounts / authentication
I am using the redmine api in angular js and for users and issues list, but i am getting error "No 'Access-Control-Allow-Origin'" while hit api.
Can any body help me?
I need this on urgently basis.
I am using redmine 3.3.1
Updated by Justin Raines about 5 years ago
If you need to get this working, you can edit the gem file adding rack-cors, then modify the application file as specified here: https://github.com/cyu/rack-cors. Assuming your redmine is publically available, be careful what resources you make available, as the rest of your site would then be embeddable via JS. Resources should be as specific to rails routes you need available as possible to prevent possible security compromise.