Integrations & Single Sign-On

Nextcloud with Active Directory and single sign-on

Your team should sign in to Nextcloud with the account they already have. We connect Nextcloud to Active Directory or LDAP, set up single sign-on through SAML or OpenID Connect, and link the file shares your office already uses.

files.example.orgExample

Sign in with your company account

  1. Continue with your company accountNextcloud sign-in screen
  2. Identity providerCompany password and two-factor
  3. Nextcloud FilesGroups brought in from the directory
    • Sales
    • Finance
    • Admins

Why it matters

A second set of accounts is a second set of problems

When Nextcloud keeps its own user list, every new hire, leaver and password reset happens twice. Accounts of people who left stay open, and groups drift out of step with the directory.

Nextcloud has what is needed to fix this: an LDAP app that works with Active Directory, and sign-in apps for SAML and OpenID Connect. They need careful setup, because a wrong filter or attribute mapping can leave people out, show the wrong groups, or create the same person twice.

What we connect

Your directory, your sign-in, your file shares

  • Active Directory and LDAP

    Nextcloud's LDAP app connected to your directory, so people sign in with their directory password and groups come across for sharing and permissions.

  • Single sign-on with SAML

    The SSO & SAML authentication app set up with your identity provider. Nextcloud's own guides cover SAML with Microsoft Entra ID, Okta and Keycloak.

  • OpenID Connect

    Nextcloud's OpenID Connect app, which can create accounts and groups at first sign-in and, for Entra ID, read group names through Microsoft Graph. Its documentation also covers Google and Keycloak.

  • Access that follows the directory

    Directory groups used for team folders and sharing, so a change in the directory changes access in Nextcloud.

  • File shares and storage

    Windows file shares (SMB), Amazon S3, SFTP and WebDAV storage mounted inside Nextcloud through external storage, for chosen users or groups.

  • One sign-in for other tools

    Keycloak as a single sign-in for Nextcloud and the other open-source tools you run, when you need it.

How it works

How we connect Nextcloud to your directory

  1. Check

    We look at your directory or identity provider, how your groups are set up, and how people sign in to Nextcloud today.

  2. Plan the mapping

    We agree which users and groups Nextcloud should see, which attribute becomes the username, and what happens to existing Nextcloud accounts.

  3. Pilot

    We switch a small group first and check sign-in, sharing, group access and the desktop and phone apps.

  4. Switch and keep watch

    Everyone moves to the new sign-in. Care watches failed sign-ins and keeps the sign-in apps current through each upgrade.

files.example.orgExample

Two connections into Nextcloud

Active Directory, read only

  • Users and groups
  • One-way into Nextcloud
  • Accounts and groups copied
  • Team folders by group

SAML or OpenID Connect

  • Microsoft Entra ID
  • Okta
  • Feeds the Nextcloud sign-in screen

Active Directory

What Active Directory gives Nextcloud, and what it does not

Nextcloud's LDAP app reads from Active Directory; it does not change it. People sign in with their directory password, and Nextcloud keeps a copy of the user details and group memberships it reads, refreshing them in the background.

Creating, editing and removing users still happens in Active Directory. If you let people change their password from Nextcloud, the password travels to the directory, so the connection must be encrypted with LDAPS.

FAQ

Questions we hear about sign-in

Does Nextcloud work with Active Directory?

Yes. Nextcloud ships with an LDAP app that supports Active Directory, including primary groups. People sign in with their directory credentials, and Nextcloud reads users and groups without changing them.

Can we use Microsoft Entra ID instead of Active Directory on our own servers?

Yes, through single sign-on. Nextcloud's own guides cover Entra ID with SAML, and its OpenID Connect app has an option to read Entra ID group names through Microsoft Graph.

What about Okta or Google?

Nextcloud has a guide for Okta with SAML. Google can act as the provider for Nextcloud's OpenID Connect app, with one setting adjusted that its documentation describes.

Can we use LDAP and single sign-on together?

Yes. The OpenID Connect app can leave account creation to LDAP, so the directory stays the source of users while sign-in runs through your identity provider.

We already have Nextcloud users. Do they lose their files?

Not if the switch is planned. Existing Nextcloud accounts and new directory accounts are separate users, so we plan how each person's files and shares move across before anyone switches.

Check how your team signs in today

Book the free 30-minute check. We review your version, setup and apps, including how sign-in works now, and give you a plain list of what to change. Prefer email? Write to [email protected].