Fixed paths used in the discovery endpoint#76
Conversation
This is to reflect how ownCloud and Nextcloud are actually using the /ocm-provider endpoint to access a share, following further reverse engineering.
|
To keep a summary record of the investigations concerning Nextcloud, this is how it accesses a remote OCM share. To be noted that part of this logic appears to come from the Open Collaboration Services standard (see #70), part is Nextcloud's own logic.
Nextcloud may eventually call |
|
I can confirm point 1, my ocm-stub serves the exact string But from memory I can't confirm points 2, 3 and 4, would be nice to create explicit tests for this in the ocm test suite! |
This follows a reverse engineering session to expose a share from CERNBox to ownCloud 10 and Nextcloud 26. Closes #70.
- [ ] NC26 access worksEdit: Nextcloud has been proven to follow the OCM standard when sending a share to a remote system, but to fully disregard it when accessing a remote system. Details in the comment below and in pondersource/nc-sciencemesh#373. Therefore, the amended text just reflects how ownCloud 10 accesses remote OCM shares, that essentially boils down to exposing paths and not full URLs in the
/ocm-providerdiscovery endpoint.