server icon indicating copy to clipboard operation
server copied to clipboard

Adapt to the OCM spec for remote shares

Open enriquepablo opened this issue 11 months ago • 2 comments

[!TIP]

Help move this idea forward

  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

There's been work at cs3org towards standardizing federated shares, adopting a draft for an OCM spec [1]. To adapt nextcloud to this standard, we would need to:

  • Allow Bearer auth for incoming and outgoing remote shares
  • Use permanent refresh tokens and transient access tokens for the shares
  • Update the nextcloud OCM stuff to include the token endpoint
  1. https://datatracker.ietf.org/doc/draft-ietf-ocm-open-cloud-mesh/

enriquepablo avatar Dec 17 '25 16:12 enriquepablo

ping @ArtificialOwl

come-nc avatar Dec 18 '25 13:12 come-nc

A concrete interoperability case for this: shares from OpenCloud (reva, OCM 1.2 with webdav-uri/protocol-object) are unusable in Nextcloud 35.0.2 because Nextcloud ignores protocol.webdav.uri and uses Basic auth with the secret at the discovered endpoint, while OpenCloud expects the share id in the path and the secret as Bearer. Details and logs: #65770

chodid avatar Oct 21 '26 23:10 chodid