wellknown

Package
github.com/cs3org/reva/v3/internal/http/services/wellknown
Source
internal/http/services/wellknown · Go reference

Enable it

Add this table to the revad configuration file:

[http.services.wellknown]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in internal/http/services/wellknown, then run make gen-doc.

Configuration

config

KeyTypeDefaultDescription
ocmproviderOcmProviderConfig-source
Includes the settings of ratelimit.ServiceConfig.

OcmProviderConfig

KeyTypeDefaultDescription
ocm_prefixstring"ocm"The prefix URL where the OCM API is served. source
endpointstringsharedconf.GetPublicURL()This host’s full URL. If it’s empty, the shared public_url is used. If both are empty, OCM is not available. source
providerstring"reva"A friendly name that defines this service. source
webdav_rootstring"/remote.php/dav/ocm/"The root URL of the WebDAV endpoint to serve OCM shares. source
invite_accept_dialogstring"/open-cloud-mesh/accept-invite"The frontend URL where to land when receiving an invitation source
enable_webappboolfalseAdvertise webapp receive in discovery only. Distinct from webapps. source
enable_embeddedboolfalseWhether embedded shares are enabled in OCM shares. source
enable_code_flowboolfalseWhether code-flow token exchange is enabled in OCM shares. source
mfa_policystringMFAPolicyRejectAdmission of received webapp must-use-mfa offers: reject or off. Off skips the check; nothing is advertised. source
signing_keystring-Path to the PEM file of the Ed25519 private key for OCM HTTP signatures. Its public key is published at /.well-known/jwks.json. source
http_sig_modestringpermissivepermissive or strict. Strict lists the must-use-http-sig criterion. Use the same mode in the ocm service. source