How can we help?

Nextcloud Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Nextcloud and syncs:

  • Users, including users without an email address
  • User roles: Admin, Group admin and User
  • User status: enabled or disabled
  • Last seen date
  • License information
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

Accounts & Permissions

To connect this integration, we require the following:

  • A Nextcloud account that is a member of the built-in admin group. We recommend using a dedicated service account for Torii.
  • To sync users only, an app password of that account is enough.
  • To run workflow actions (create user, disable user, update user details), enter the account's real password instead of an app password. Nextcloud requires password confirmation for user-management changes and rejects app passwords for them. The account must not have two-factor authentication enforced.

Required keys

  • Nextcloud URL - the address of your Nextcloud server, starting with https and without a trailing slash, for example https://cloud.example.com. If Nextcloud is installed under a subpath, include it, for example https://example.com/nextcloud.
  • Username - the username of the admin account.
  • Password or App Password - an app password of the admin account (syncing users only), or the account's real password (syncing users and running workflow actions).

How to Generate the Required Values

Step 1: Prepare an admin account

  1. Sign in to Nextcloud as an administrator and open Accounts.
  2. Click Add new account to create a dedicated account for Torii (or select an existing account).
  3. To give the account administrator rights, add it to the built-in admin group using the Member of the following groups field.

Step 2: Create an app password (syncing users only)

  1. Sign in to Nextcloud as the dedicated account and open the personal settings page.
  2. Open the Security tab. It shows the browsers and devices connected to the account.
  3. At the bottom of the list, create a new device-specific password (app password) and give it a name such as Torii.
  4. Copy the password.

Important
Nextcloud shows the app password only when you create it. Copy it before closing the dialog.

Step 3: Use the account's real password (to run workflow actions)

If you want to use Torii workflow actions, skip the app password and use the account's real password in the Password field. Make sure two-factor authentication is not enforced for this account, otherwise Nextcloud rejects the password login.

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Nextcloud and click Connect.
  3. Enter the Nextcloud URL, Username and Password or App Password.
  4. Click Connect.

Actions

  • Add Nextcloud user - creates a new Nextcloud account. The user's email address becomes the Nextcloud username, and Nextcloud emails the user a link to set a password (your Nextcloud server needs a working mail server).
  • Disable Nextcloud user - disables the account in Nextcloud. The user's files are kept and the account can be enabled again.
  • Update Nextcloud user details - changes the display name, email, phone, address or website of an existing Nextcloud account.

Actions require the account's real password, as described in the Requirements section.



For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request