getodk / getodk/central

Consider enabling CORS (at least for OData?)

Open
#68 2 comments 0 reactions 0 assignees View on GitHub
needs discussion
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

as noted [here](https://forum.opendatakit.org/t/unable-to-access-odk-central-via-ajax-calls/19234), browser-based clients hoping to read information from Central won't be able to do so unless the server permits CORS requests.

at the very least, OData seems like a prime candidate for CORS allowance.

but we need to think through the security ramifications if we're going to allow this, and decide whether it should be on by default or toggled via some kind of option somehow.

should we decide to do this at the nginx level, the above-linked thread has some useful configuration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.