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 belowThis 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
| Key | Type | Default | Description |
|---|---|---|---|
ocmprovider | OcmProviderConfig | - | source |
Includes the settings of ratelimit.ServiceConfig. | |||
OcmProviderConfig
| Key | Type | Default | Description |
|---|---|---|---|
ocm_prefix | string | "ocm" | The prefix URL where the OCM API is served. source |
endpoint | string | sharedconf.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 |
provider | string | "reva" | A friendly name that defines this service. source |
webdav_root | string | "/remote.php/dav/ocm/" | The root URL of the WebDAV endpoint to serve OCM shares. source |
invite_accept_dialog | string | "/open-cloud-mesh/accept-invite" | The frontend URL where to land when receiving an invitation source |
enable_webapp | bool | false | Advertise webapp receive in discovery only. Distinct from webapps. source |
enable_embedded | bool | false | Whether embedded shares are enabled in OCM shares. source |
enable_code_flow | bool | false | Whether code-flow token exchange is enabled in OCM shares. source |
mfa_policy | string | MFAPolicyReject | Admission of received webapp must-use-mfa offers: reject or off. Off skips the check; nothing is advertised. source |
signing_key | string | - | 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_mode | string | permissive | permissive or strict. Strict lists the must-use-http-sig criterion. Use the same mode in the ocm service. source |