Skip to content

Nextcloud Integration

Because Nextcloud is self-hosted, Orvanta connects to it through an OAuth2 app you register on your own Nextcloud instance, rather than a single fixed OAuth provider.

An instance admin registers the OAuth client once, at the instance level:

  1. Sign in to your Nextcloud instance as an administrator.
  2. Go to Administration settings → Security → OAuth 2.0 clients and add a new client.
  3. Set the redirect URI to your Orvanta instance’s <base-url>/user/login_callback/nextcloud.
  4. Copy the resulting Client ID and Client Secret into Orvanta’s Nextcloud instance settings, alongside the instance domain (e.g. nextcloud.example.com).

From there, individual users authorize Orvanta against that Nextcloud instance through the normal OAuth consent flow, and Orvanta stores the result as a connection — no Nextcloud password ever touches Orvanta.

The connection can be used by:

  • Passing it as a parameter to scripts
  • Fetching it directly from within scripts, flows, low-code apps, and full-code apps using the Orvanta client

Native triggers let a script or flow run automatically when files or folders change in Nextcloud. Under the hood, Orvanta registers a webhook with Nextcloud’s webhook_listeners app, so events reach Orvanta as they happen rather than through polling.

The Orvanta Hub has pre-built scripts for common Nextcloud operations you can start from, or you can write your own against the connection.