How XWiki and Nextcloud integration lets Nextcloud users reach wiki content
Staff who spend their day in Nextcloud can reach XWiki content from there when the integration gives both systems one sign-in path. The supported method for this topic combines three pieces: the xwiki-contrib Nextcloud application, which lets Nextcloud users log in to XWiki from Nextcloud and needs the OpenID Connect Provider extension, the OIDCBridgeAuth authentication class in xwiki.cfg and XWiki 11.10 or later; the XWiki app from the Nextcloud app store; and the xwiki-contrib OpenID Connect extension, which acts as the provider bridge between the two. Treat these three as one design, and check each version against its own requirements before the build starts.
The two Nextcloud pieces do different jobs, and the names alone do not tell you which side does what. The XWiki app in the Nextcloud app store supports Nextcloud 25 through 35, with version 1.0.2 as the latest stable release at the time of research, so confirm that listing against the Nextcloud server you run. Read the xwiki-contrib application repository and the app store entry separately, and record for each one where it is installed, which configuration it reads and what it does during login. Planning should also account for the Nextcloud release calendar: Nextcloud 36 is scheduled for 17 February 2027, which is outside the range listed at research, so test the bridge before any upgrade that moves you there.
No other connector is assumed here. This page does not cover Nextcloud's LDAP or SAML user backends, a direct OpenID Connect login from Nextcloud to another provider, or any other identity source, and each of those needs its own review. Before go-live, run a test in which a non-administrative user signs in from Nextcloud, opens a restricted wiki page and signs out, then confirm that the XWiki account matches that person's Nextcloud identity. Repeat the test after every Nextcloud or XWiki upgrade, because the app, the bridge and the server each move on their own schedule.
Prerequisites for XWiki and Nextcloud integration
Five items decide whether the XWiki app and the OpenID Connect bridge can work in your environment. Check the XWiki line and the Nextcloud major version first, because the integration depends on both. Then confirm the database, PHP and web server stack and the network path between the two hosts.
XWiki version and line
The integration needs XWiki 11.10 or later, so check the version your wiki runs today. Then choose the line you will operate. The official XWiki Docker image tags list 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS, so confirm those tags and each line's support window with XWiki before you commit. Your choice sets how often you upgrade and may change the Java and Tomcat versions the wiki needs, so record it in the design before the build starts.
Docker image docsNextcloud major version range
The XWiki app in the Nextcloud app store supports Nextcloud 25 through 35, and version 1.0.2 is the latest stable release listed. Confirm that your Nextcloud server sits inside that range and check the app listing for the version you will install. Nextcloud does not allow skipping major releases, so a server older than 25 must move through each major version in turn before the app can be used. Schedule that work first, and take a backup before every upgrade.
XWiki app listingOpenID Connect bridge in XWiki
The Nextcloud app relies on the OpenID Connect Provider extension installed on the XWiki side, published in the xwiki-contrib repositories. It also needs the OIDCBridgeAuth authentication class set in xwiki.cfg on the XWiki host. Confirm that the extension is available for the XWiki line you chose, that xwiki.cfg names OIDCBridgeAuth exactly as the app documentation shows, and how your deployment picks up the change. Keep a copy of the original file, because a typo in an authentication setting can lock out administrators.
Nextcloud platform requirements
Nextcloud 35 recommends MariaDB 11.8 or PostgreSQL 18, and it supports MariaDB 10.11 to 12.3, PostgreSQL 14 to 18 and MySQL 8.4 or 9.7. It recommends PHP 8.5, with PHP 8.3 and 8.4 supported, and Apache 2.4 or nginx with php-fpm as the web server. Oracle Database is available only with an enterprise subscription. Check these figures against the requirements for the exact Nextcloud major you run, then confirm that your database, PHP and web server versions are ones your team can patch.
Nextcloud system requirementsDNS, certificates and network path
Each host needs a stable name that the other host can resolve, so confirm the DNS records for both XWiki and Nextcloud before you configure redirects or callback addresses. Confirm that each side presents a certificate the other side trusts, including any internal certificate authority that signs it. Check that firewall and proxy rules allow traffic in both directions on the ports you use, and get those rules approved before the build starts. Finally, confirm that you hold admin accounts on both hosts with rights to change configuration files and install applications.
How a Nextcloud login reaches XWiki content
The flow starts when a user opens the XWiki app inside Nextcloud in their browser. The browser is redirected to XWiki for sign-in, where the OpenID Connect Provider extension handles the login and the OIDCBridgeAuth authentication class in xwiki.cfg connects that login to XWiki. A token or session then returns to Nextcloud, which lets the app request wiki content for that user. Pages stay in the XWiki page store on the XWiki host. Three trust boundaries matter: the browser, the Nextcloud host and the XWiki host. Confirm the exact redirect parameters, token format and endpoints against the repository documentation before you write firewall or proxy rules.
Login hand-offs across three trust boundaries; confirm endpoints in repository docs.
Configure XWiki and Nextcloud in this order
This sequence connects XWiki and Nextcloud in an order that lets each layer be checked before the next one depends on it. The result is a Nextcloud user who can reach XWiki content from Nextcloud, with access following the XWiki rights that apply to each account. Run it in a staging environment first, with a dedicated test account for every step.
Record XWiki and Nextcloud versions
Confirm which XWiki line you will run and which Nextcloud major version is in use, then check both against the supported range before installing anything. The XWiki Nextcloud application needs XWiki 11.10 or later, and the XWiki app in the Nextcloud app store supports Nextcloud 25 through 35. Choose the stable line, the long term support line or the intermediate LTS line, and confirm current image tags in XWiki's Docker documentation because tags change. Write the chosen versions in the runbook. This step is done when both values are recorded and the Nextcloud major version falls inside the supported range.
Deploy XWiki and confirm admin login
The platform team deploys the official XWiki image for the chosen database, MySQL, PostgreSQL or MariaDB, each running on Tomcat, and serves it on the HTTPS host name that users will type. Keep database and admin credentials in your secret store, out of compose files kept in source control. Confirm the image tag matches the line recorded in step one and the architecture matches your hosts (amd64 or arm64v8). Sign in as the administrator over that host name and check that the home and administration pages load without certificate warnings. This step closes when admin login works on that exact address.
Install the OpenID Connect Provider extension
Install the OpenID Connect Provider extension from the xwiki-contrib OIDC project, following the project's documentation to confirm which release supports your XWiki line. Test the installation on a non-production instance before you repeat it in production. Open the extension's administration section and confirm the configuration page loads without errors in the XWiki logs. Record the extension version in the runbook so later upgrades can check it. This step closes when the configuration loads and the version is pinned.
Set OIDCBridgeAuth and restart XWiki
Set the authentication class to OIDCBridgeAuth in
xwiki.cfg, which the Nextcloud application requires, and keep a copy of the original file so rollback is a single restore. Restart XWiki and watch the startup log for errors from the authenticator and the extension. Then sign in with a dedicated test account through the bridge and confirm the account is created or matched as you expect. This step is done when XWiki starts cleanly and the bridge login succeeds for that test account.Register Nextcloud as an OIDC client
On the XWiki provider, register Nextcloud as an OpenID Connect client using the redirect addresses that the xwiki-contrib Nextcloud application documentation requires. Copy those addresses exactly from the repository, including scheme and path, and check them again after any host name change. Store the client secret in your secret store and record the client settings in the runbook without the secret. Trigger a login from Nextcloud and check the provider logs to confirm a token was issued to the client. This step closes when a token issuance is visible for that login.
Install the Nextcloud XWiki app and connector
In Nextcloud, install the XWiki app from the Nextcloud app store and check the listing first, since it states the supported Nextcloud range and the current stable version. Then install the xwiki-contrib Nextcloud application as its documentation describes. Do this on a staging Nextcloud before production, because app compatibility affects later upgrades. Sign in to Nextcloud as a test user, open the XWiki entry, and confirm the browser is redirected to XWiki and returns to Nextcloud with wiki content reachable. This step closes when that round trip works for one test user.
Run the access test matrix
Test four accounts through the Nextcloud path: an administrator, a standard user with view and edit rights on a sample space you create for the test, a user with no rights on that space, and an account that exists in Nextcloud but has no XWiki account. For each account, record what Nextcloud shows and what XWiki shows when the same account signs in directly. Record the expected result for the unprovisioned account before you run the test. Any difference between the two views is a defect to fix before go-live. This step closes when every row matches the XWiki rights for that account.
Write and hand over the runbook
Write the runbook with every version pinned: the XWiki image tag and line, the extension version, the Nextcloud major version, the XWiki app version and the OIDC client settings without secrets. Record the upgrade order, moving one Nextcloud major version at a time, backing up before each upgrade, and disabling third-party apps until they are confirmed compatible. Include the access test matrix and the rollback steps. Ask a second administrator who did not build the setup to follow the runbook on a staging instance. This step closes when that person completes the checks without needing to ask you a question.
Which identity and content attributes map between the two systems
This table compares the identity and content attributes that move between Nextcloud and XWiki, and shows which side owns each one. Read each row as a check to complete before go-live, and take every attribute name from the repository configuration and confirm it there. The main takeaway is that XWiki page and space rights still decide what a Nextcloud user sees, so signing in through Nextcloud does not widen wiki access.
| Item | Nextcloud side | XWiki side | What to confirm |
|---|---|---|---|
| User identity (account name and subject identifier) | Nextcloud account that starts the login from the XWiki app | XWiki user document matched or created by the OIDC bridge authenticator | Which claim becomes the account name and which claim is the stable subject identifier, per the repository configuration |
| Login session and logout | Nextcloud session that opens wiki content in the browser | XWiki session established through OIDCBridgeAuth in xwiki.cfg | Whether Nextcloud logout ends the XWiki session, and how long the XWiki session lasts |
| Groups and roles | Nextcloud groups, which may not be sent to XWiki at all | XWiki groups and rights attached to the user document | Whether group membership crosses the bridge, or only identity does |
| What Nextcloud displays from wiki content (links, embedded views or full pages) | Links or views the XWiki app presents inside Nextcloud | Pages rendered by XWiki after login, filtered by XWiki rights | Which display modes the app version in use supports, and whether any content is cached in Nextcloud |
| Page and space rights | Nextcloud sharing settings, which do not grant wiki access | XWiki page and space rights that decide what each user can read or edit | That a non-admin test account cannot see restricted pages through Nextcloud |
| Attachments and file links | Files in Nextcloud that wiki pages may link to | Attachments stored in XWiki | Whether files are linked or copied, and where attachment permissions are checked |
| Profile fields | Display name, email and other account fields held by Nextcloud | XWiki profile fields, which may update only if the bridge syncs them | Which fields map, whether updates flow one way, and which system owns each value |
| Directory backends (LDAP or SAML) | Nextcloud LDAP or SAML user backends, documented separately by Nextcloud | Not part of this bridge unless the team confirms otherwise | Whether an existing directory already feeds Nextcloud accounts and must match XWiki user names |
Security controls for XWiki and Nextcloud integration
A Nextcloud login into XWiki creates a trust path between two applications, so each control below closes one way that path can be misused. Set these controls before users are connected, and confirm each one with a test using a standard account. The first four cover access and transport, and the last two cover visibility and keeping both products current.
Limit the OpenID Connect client
The OpenID Connect provider in XWiki should register only the Nextcloud client, and that client should list only the exact redirect addresses Nextcloud uses for its callback. Each extra client or loosely matched redirect address gives another application a way to receive login responses from XWiki. Enter the addresses exactly as Nextcloud sends them and avoid wildcards. Review the list after every change to the Nextcloud hostname or the extension, because old entries can outlive the change that made them. Confirm in the extension documentation which claims XWiki returns to Nextcloud.
Extension repositoryScope XWiki rights to users
Nextcloud users reach wiki content through their own XWiki account, so what they can see is whatever XWiki already grants that account. Before you connect the two, review view rights on each space, especially spaces open to all logged-in users or to guests. Nextcloud sharing settings do not hide wiki pages, so XWiki rights decide visibility. Test with a standard account from each group and confirm that pages hidden in XWiki stay hidden in Nextcloud.
Protect xwiki.cfg and secrets
The OIDC bridge authentication class in xwiki.cfg and the client secret are what let Nextcloud sign users in, so both need tight control. Restrict read access to xwiki.cfg to the account that runs Tomcat and to the administrators who maintain it. Keep the client secret in a secrets store, out of wiki pages, tickets and chat, and rotate it when someone with access leaves. Keep XWiki administrator accounts few and named, and protect the password reset path for each of them.
Serve every hop over HTTPS
A login through Nextcloud crosses several connections: the browser to Nextcloud, Nextcloud to XWiki on the back channel, and the browser to XWiki for the redirect. Serve each one over HTTPS and manage certificates on both hosts, including renewal and the chain of any internal certificate authority. Nextcloud must trust the XWiki certificate for back-channel calls to succeed, so keep certificate verification on and fix the trust chain itself. Put every certificate expiry date on a shared calendar with a named owner.
Log authentication on both sides
Record failed and successful logins, token requests and account changes in both XWiki and Nextcloud, so an investigation can follow one user across both systems. Confirm where each application writes its logs, who can read them and how long they are kept. Review on a schedule you set, and record who reviewed each run and what they found. If you run a central log platform, forward both log sets there and test that one sample login appears in each.
Track releases with a named owner
Nextcloud publishes monthly maintenance releases that address known critical bugs and security problems, and XWiki publishes stable, LTS and intermediate LTS lines. Name one named patch owner for each product. That person reads release notes, checks that the XWiki app still supports your Nextcloud version, and schedules each upgrade. Nextcloud does not allow skipping major releases, so upgrade one major version at a time, back up before every upgrade and keep third-party apps disabled until they are confirmed compatible.
Release scheduleKeeping XWiki and Nextcloud upgrades in step
Plan the integration around Nextcloud's release calendar, because the Nextcloud major version you run decides how long the link stays supported. Nextcloud publishes a new major version every four months and supports each one for one year through monthly maintenance releases that address known critical bugs and security problems. The published schedule lists Nextcloud 33 as supported until February 2027, Nextcloud 34 until June 2027, and Nextcloud 35, released on 16 September 2026, with end of life in September 2027. Nextcloud 36 is scheduled for 17 February 2027. A deployment still on Nextcloud 33 will need its next upgrade soon, so test the XWiki side against the target version before that window closes.
Nextcloud does not allow skipping major releases, so each upgrade moves one major version at a time, with a backup taken before every step. Third-party apps stay disabled until their maintainer confirms compatibility, which means the XWiki app from the Nextcloud app store must be rechecked at every intermediate step, not just the last one. The app listing shows support for Nextcloud 25 through 35, with version 1.0.2 as the latest stable release at research time, so any path that reaches Nextcloud 36 needs a confirmed app update first. Record the Nextcloud version, the XWiki app version and the XWiki line in a change log for each step, and run a login from Nextcloud into the wiki after each upgrade before re-enabling anything else. Check the compatibility statement in the XWiki app listing on the Nextcloud app store before you schedule each step.
Choose the XWiki line before you fix the upgrade calendar. XWiki publishes a stable line, a long term support (LTS) line and an intermediate LTS line, and at research time the official Docker image tags were 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS. Ask XWiki for the support period of each line and compare it with the Nextcloud dates above, since a line that ends support before the Nextcloud version you run leaves half of the stack unsupported. Each change of line needs a fresh test pass, including a move between LTS and intermediate LTS. The pass should cover the Nextcloud login path through the OpenID Connect Provider extension, the OIDCBridgeAuth authentication class in xwiki.cfg and the XWiki 11.10 or later requirement. Write that test pass into the upgrade runbook so the check is repeated each time the line or the Nextcloud version changes.
Common failures and where to look first
This table lists the failures most often seen when XWiki and Nextcloud are linked, with the likely cause and the first thing to check for each. Start with version and configuration checks, then move to login and rights checks once the connection is established. Most failures trace back to supported versions, OpenID Connect client settings, or a host name that differs from the configured address.
| Symptom | Likely cause | What to check first |
|---|---|---|
| XWiki app unavailable or failing in Nextcloud | The Nextcloud server version is outside 25 through 35, the range the XWiki app supports. | Confirm the server major version, then the app's listed compatibility. Check the Nextcloud log, data/nextcloud.log, first. |
| Login redirect fails after the OpenID Connect client is set up | The redirect address registered with the provider does not match the callback address the application sends. | Compare registered redirect addresses character by character, including scheme, host, port and path. Check the Nextcloud log first, then the provider's event log. |
| Login fails with no clear error | XWiki is below 11.10, or xwiki.cfg lacks the OIDCBridgeAuth authentication class. | Confirm the XWiki version and the authentication class in xwiki.cfg. Check the XWiki log for authenticator load errors. |
| Users authenticate but see empty or missing content | The user signs in but has no view rights on the target spaces or pages. | Test with a known user and review view rights on the target spaces. Check the XWiki log for access denials. |
| Integration breaks after a Nextcloud upgrade | A major version was skipped, or a third-party app stayed enabled without confirmed compatibility. | Confirm each upgrade moved one major version at a time. Check data/nextcloud.log and disable unconfirmed third-party apps. |
| Login works on one host but fails on another | Mixed HTTP and HTTPS, or configured addresses use a host name that differs from the one users open. | Compare scheme and host in the Nextcloud app settings, the OIDC client and xwiki.cfg. Check the XWiki log for redirect errors. |
What buyers ask before hiring help for XWiki and Nextcloud integration
What drives the price of linking XWiki to Nextcloud?
Most of the cost is people time for configuration, testing, upgrades and any support contract, because the open-source components are free to obtain under their licenses. XWiki is licensed under LGPL 2.1 and Nextcloud Server under AGPL-3.0. Paid items to check separately are these:
- XWiki SAS consulting, listed at 1200 EUR per day on its pricing page, which requires a Business or Enterprise support plan.
- Nextcloud Enterprise, with list prices starting at 71.29, 104.99 and 204.75 EUR per user per year for its Standard, Premium and Ultimate tiers, per the Nextcloud pricing page. The tiers have a 100-user minimum.
Support plans recur, while configuration and testing are usually one-time work. Ask each quote to separate the one-time build from recurring upgrades and support, and to name who is paid for each part.
How long does linking XWiki to Nextcloud take?
No single duration fits every integration, so the timeline depends on your decisions and test scope. The main drivers are the number of environments you run, how identity and group rights are decided, and how much testing your change process requires. An integration that also sets up XWiki as the identity source takes more decisions than one that only links accounts. Ask for a written timeline that lists the environments, the decision sessions, the test cases and the change windows it depends on. Most engagements are fixed-scope, so the timeline and deliverables are agreed in writing before work starts. Compare any proposal against that list, and treat a timeline that does not name its dependencies as incomplete.
What do we need to provide for the integration work?
You provide the access, people and decisions the work cannot start without, and most delays trace back to one of them. Plan for these before kickoff:
- Administrator accounts on both sides, with rights to change the XWiki configuration and the Nextcloud app settings.
- Test users in each system covering different roles and groups, so access can be checked for each one.
- A written rights model that maps Nextcloud groups to XWiki spaces and to view, edit and admin rights.
- Certificates for the hostnames each system uses, trusted by both sides, so the login flow between them works.
- A change window in each environment and a named person who approves the rollout.
Confirm the exact hostnames and certificate chain early, because they often surface late in testing.
Can our own team link XWiki to Nextcloud?
Yes, if your team already runs both platforms and can work from the repository documentation. The build needs wiki administration to install the OpenID Connect Provider extension and to set the OIDCBridgeAuth authentication class in xwiki.cfg. It needs Tomcat administration to restart and configure the XWiki web application, and Nextcloud administration to install and configure the XWiki app. Read the xwiki-contrib application-nextcloud repository before you schedule the work. Check each skill against the people who will do the build, because gaps usually appear during testing. Ask a partner to name the steps your team could take over after handover.
Which XWiki and Nextcloud versions should we pick together?
Start from the Nextcloud version you run, then confirm that the XWiki app and your XWiki release both fit it. The XWiki app in the Nextcloud app store supports Nextcloud 25 through 35, so check its latest release against your server before you choose. The Nextcloud link requires XWiki 11.10 or later, along with the OpenID Connect Provider extension and the OIDCBridgeAuth class. For XWiki, choose a line on purpose. The official Docker image tags are 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS. Nextcloud 35 was released on 16 September 2026, and Nextcloud 33 receives support only until February 2027, so plan Nextcloud release timing into both upgrade paths. Ask the integrator to test the exact pair you intend to run.
Does DeployOpen certify our XWiki and Nextcloud setup as compliant?
No. DeployOpen does not issue audit reports, attestations or certifications, and it does not certify any system as compliant with a framework. It prepares the systems, access controls, configuration records and evidence that an assessment will ask for, so your compliance team and an independent auditor or certification body can review them. For this integration, that can include a documented rights mapping between Nextcloud groups and wiki spaces, records of the sign-in configuration, and test results for login and access checks. The assessor decides whether those records meet a given framework, so confirm the control list and evidence format with them before work starts. Ask DeployOpen for a written list of the evidence it will deliver.
How DeployOpen scopes and delivers this integration
DeployOpen scopes the XWiki and Nextcloud link as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before work starts. The build follows the XWiki Nextcloud application, the XWiki app from the Nextcloud app store and the OpenID Connect provider bridge, and runs in infrastructure you control. Ongoing support, upgrades and testing are available as a retainer.
How we scope
- The written scope names the Nextcloud version, XWiki version and the login path each user will take.
- The XWiki app's listed Nextcloud compatibility is confirmed against your planned release before build starts.
- Scope also covers the OIDCBridgeAuth setup, the OpenID Connect Provider extension and XWiki 11.10 or later.
How we build
- Configure the xwiki-contrib OpenID Connect provider extension on XWiki and the XWiki app on Nextcloud.
- Set the
OIDCBridgeAuthauthentication class inxwiki.cfg, then test the login path from Nextcloud into the wiki. - Verify user mapping, session behavior and access rights so Nextcloud users see only wiki spaces they may read.
How we hand over
- Written handover covers the configuration files, extension versions, the OIDC client settings and the login flow.
- Runbooks list the XWiki and Nextcloud upgrade order, since Nextcloud requires one major version at a time.
- Your team receives a rollback plan built on a backup taken before each upgrade, as Nextcloud documents.
How we support
- Retainers can cover XWiki and Nextcloud upgrades, extension updates and regression tests after each release.
- Compatibility checks of the XWiki app against each planned Nextcloud major version before it is scheduled.
- Response expectations are written into the retainer and confirmed with you before work starts.

