-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable CORS on useful endpoints #10415
Comments
@jancborchardt @PVince81 @jfearn |
Include OCS Share API |
I added CalDAV and CardDAV (although they are not part of core). cc @skddc @michielbdejong for remoteStorage. |
Ideally oauth2 should be implemented first: #10400 |
So IIUC, the code for CORS was added to the middleware last May, but it was never actually activated on the OCS Share API? That's what I understand from the discussion above, and also, I did a simple test against the API of the demo instance: curl -I https://test:[email protected]/ocs/v1.php/apps/files_sharing/api/v1/shares and got back no CORS headers. (side note: there were actually some cookie headers on there which should be removed if/when switching to CORS) |
ocs share api is not using app framework controllers - we cannot apply the cors middleware - yet |
CORS was implemented with domain whitelisting here: #28457 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Regarding benweet/stackedit#122 (comment) we should create a list of APIs where we should enable CORS to allow third-party devs integrate with ownCloud. Feel free to add more:
The text was updated successfully, but these errors were encountered: