wopi

Package
github.com/cs3org/reva/v3/pkg/app/provider/wopi
Source
pkg/app/provider/wopi · Go reference

Enable it

Select the driver in the service that uses it, and put its settings in the driver's own table:

[grpc.services.appprovider]
driver = "wopi"

[grpc.services.appprovider.drivers.wopi]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in pkg/app/provider/wopi, then run make gen-doc.

Configuration

KeyTypeDefaultDescription
mime_types[]string-Inherited from the appprovider. source
iop_secretstringos.Getenv("REVA_APPPROVIDER_IOPSECRET")The IOP secret used to connect to the wopiserver. source
wopi_urlstring-The wopiserver’s URL. source
app_namestring-The App user-friendly name. source
app_icon_uristring-A URI to a static asset which represents the app icon. source
folder_base_urlstring-The base URL to generate links to navigate back to the containing folder. source
app_urlstring-The App URL. source
app_int_urlstringsame as app_urlThe internal app URL in case of dockerized deployments. Defaults to AppURL source
app_api_keystring-The API key used by the app, if applicable. source
jwt_secretstringshared jwt_secretThe JWT secret to be used to retrieve the token TTL. source
app_desktop_onlyboolfalseSpecifies if the app can be opened only on desktop. source
insecure_connectionsbool-source