Which homeserver requirements Element X imposes before staff can sign in
If you want staff on Element X against a self-hosted server, your homeserver must provide two things: native Simplified Sliding Sync (MSC4186) and next-generation OIDC authentication (MSC3861), which in practice means running the Matrix Authentication Service (MAS) in front of Synapse. Dendrite does not yet support either feature, so a Dendrite deployment cannot meet Element X's requirements today. Run this check before you pick a homeserver, and again before any rollout, because the answer decides which server software, which authentication path and which operational components you have to plan for.
The check belongs at two points in your project. The first is homeserver selection, where a team that has already standardized on Dendrite or another implementation needs to know that Element X is out of reach until that server gains both features. The second is pre-rollout, where the platform lead confirms the Synapse version in use supports sliding sync natively. Synapse 1.114.0, released September 2, 2024, enabled MSC4186 by default, so the version you deploy and any version you plan to upgrade to must be checked against the release notes. Confirm the exact version on the Synapse releases page at the time you plan, since later releases change the platform floors that apply to your database and Python runtime.
Treat MAS as a separate deployment with its own identity provider integration, not a setting you flip on Synapse. Plan the upstream OpenID Connect provider (Keycloak, Microsoft Entra ID, Google or Authentik, for example), the redirect paths, and the secrets MAS and Synapse share. If your current login uses SAML or LDAP only, you need a bridge such as Dex before MAS can authenticate your staff, and that bridge becomes part of the scope. Ask your Element X rollout owner to confirm the MAS version, the Synapse version and the upstream provider in writing before any user is invited, because a mismatch there blocks sign-in for everyone at once.
How Synapse, Dendrite and other homeservers compare for Element X
Synapse is the homeserver the Element X requirements are built around. Synapse 1.114.0, released September 2, 2024, enabled native sliding sync support (MSC4186) by default, so a current Synapse release carries the Simplified Sliding Sync support that Element X depends on. Authentication through MAS is a separate step that you add on top of Synapse rather than a property of the Synapse release itself.
- Native sliding sync: Current Synapse releases include MSC4186 support, so no separate sliding sync proxy is needed for Element X.
- Release floor: Synapse 1.114.0 is the first release in the supplied facts with this feature on by default, so treat older versions as out of scope for this requirement.
- Database and runtime: Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer, so check these floors before you upgrade.
- Upgrade path: Read every set of upgrade notes between your current version and the target, because rollback can be difficult after database schema changes.
- Licensing: Synapse is AGPL-3.0-or-later, and Element sells commercial licenses and the Synapse Pro edition.
Before you commit, confirm the current Synapse release notes and compatibility statements with Element, since the supported feature set changes between releases. Check the Synapse releases page for the version you plan to run.
Dendrite is another homeserver from the Matrix ecosystem, written in Go and licensed under AGPL-3.0-or-later. Its project repository states that Dendrite does not yet support MSC4186 Simplified Sliding Sync or MSC3861 next-generation OIDC authentication. Those two gaps are the reason a Dendrite deployment cannot meet the Element X requirements, regardless of how the server is configured.
- Missing sliding sync: Without MSC4186, Element X cannot use the sync model it is built on.
- Missing OIDC authentication: Without MSC3861, a server cannot pair with MAS for next-generation OIDC sign-in.
- Licensing: Dendrite is AGPL-3.0-or-later, the same family of terms as Synapse, so licensing does not separate the two options.
- Fallback clients: Staff can still use other Matrix clients where the server supports them, so confirm the client list with your user groups before you choose a server.
- Re-check status: The project may add these features later, so verify the current status in the repository before you plan around it.
If Dendrite is already in your environment, decide whether to keep it for other clients or move to Synapse for the Element X rollout. Review the element-hq/dendrite repository for the current feature status.
Conduit and its Rust forks, Continuwuity and Tuwunel, are listed on matrix.org and are licensed under Apache-2.0. This page does not have a supplied source confirming whether any of these servers supports MSC4186 or MSC3861, so it cannot tell you they meet the Element X requirements. Treat them as unverified until the project documents the support in writing.
- Unconfirmed sliding sync: No supplied fact confirms MSC4186 support in Conduit, Continuwuity or Tuwunel.
- Unconfirmed OIDC: No supplied fact confirms MSC3861 support or compatibility with MAS.
- Permissive license: Apache-2.0 differs from the AGPL terms used by Synapse and Dendrite, so have legal review your obligations if you modify or redistribute the code.
- Project maturity: Check release cadence, maintainer activity and the documented federation and database support before you consider a server for a regulated environment.
- Test before you decide: Run Element X against a test instance and record exactly which features work.
Ask each project for a written statement of its support for MSC4186 and MSC3861 and for the Element X client, and confirm the answer in a test environment before you plan a rollout. The Matrix.org server list is the starting point for the projects in this family.
Element offers Synapse Pro as a commercial route for Synapse, and it sells AGPL exceptions for Synapse. Since December 13, 2023, Element has licensed its future Synapse contributions under AGPLv3 and requires contributors to sign a CLA. The commercial options change who you pay and what support you receive, but they do not by themselves change which Element X features a Synapse release supports.
- Synapse Pro: Element's commercial edition of Synapse, listed among the homeserver implementations on matrix.org.
- AGPL exceptions: Element sells exceptions to the AGPL terms, which matters if your legal team cannot accept AGPL obligations for a modified server.
- Element Server Suite: The ESS package includes Synapse Pro, MAS, LDAP and SCIM integration and auditing, and it has community and professional editions.
- Ongoing costs: Licensing and subscription costs recur, and the quote should separate them from one-time implementation work.
- Verification: Ask Element which feature set each commercial edition includes and whether it matches the open-source release you would otherwise run.
Before you sign, ask the vendor to confirm the exact edition, support terms and feature parity with the open-source Synapse release. The Element Server Suite page describes the packages.
Preparing a Synapse and MAS setup that meets Element X requirements
This sequence takes a self-hosted Synapse at a supported version, adds Matrix Authentication Service behind an upstream OpenID Connect provider, and points clients at the server so staff can sign in and use sliding sync. Each step ends with a check that the previous step held.
Confirm the Synapse version and platform floors
The platform team confirms that the target Synapse release is 1.114.0 or later, since that release enabled native Simplified Sliding Sync (MSC4186) by default. Then they check the host against the floors for the chosen release: Python 3.10 or newer for 1.142.0 and later, and PostgreSQL 14 or newer for 1.143.0 and later. Read the upgrade notes for every release between the current installed version and the target, because rolling back can be difficult after schema changes. Done means the running version, Python version and PostgreSQL version are recorded in your change record, and
synapse_port_dbor your deployment tooling reports no schema errors on a test copy. Confirm the latest supported release on the Synapse releases page before you pick a target.Stand up a test homeserver on the target version
Install the chosen Synapse release in a non-production environment that matches production on PostgreSQL, server_name and reverse proxy routing. Use PostgreSQL rather than SQLite for anything beyond evaluation, because the Synapse documentation recommends PostgreSQL for production. Confirm that the client API responds on the public hostname and that the server_name fixed in configuration matches the identifiers you intend to issue, such as @user:example.com. Done means a local account can be created through the admin path your team uses and a room can be created and read. Keep this environment as the place where every later change is rehearsed.
Deploy Matrix Authentication Service alongside Synapse
Deploy MAS as a separate service that handles OAuth 2.0 and OpenID flows for Matrix, implementing the OIDC-based authentication described in MSC3861. Synapse is then configured to delegate authentication to MAS, which is the requirement that Dendrite cannot meet. Set up the MAS database, its public issuer URL and the reverse proxy routes it needs, and keep MAS on the same server_name as Synapse. Done means MAS starts cleanly, serves its discovery document at the issuer URL, and Synapse logs show that it has connected to MAS without configuration warnings.
Connect MAS to your upstream OIDC provider
Register MAS as a client in your identity provider. Common choices named in the MAS documentation include Keycloak, Microsoft Entra ID, Google and Authentik. MAS does not support SAML directly, so if your directory speaks only SAML or LDAP, plan a bridge such as Dex before this step. Configure the redirect URI that MAS documents for upstream providers and map the claims MAS needs to create Matrix localparts. Done means a test user who is not an administrator can start sign-in from MAS, authenticate at the upstream provider and land back on MAS with a session. Record which claim supplies the username, because changing it later affects account identity.
Point Element X and Element Web at the server
Configure the client applications to use your homeserver and your MAS sign-in flow. Element X on iOS and Android and Element Web should resolve the same server_name, so you can use the Element Web default server configuration you control rather than relying on public defaults. Confirm that the client reaches the login flow for your identity provider and does not offer a password path that bypasses MAS, unless you have decided to keep one. Done means a test device completes sign-in through the browser flow, returns to the app, and shows the account's rooms and the server name you expect.
Verify sign-in, sliding sync and session behavior
Use at least two test accounts in different identity groups and run a scripted set of checks. Confirm that sign-in succeeds from a fresh install of Element X, that the room list loads through sliding sync without a full sync stall, and that new messages arrive on a second device. Then test session behavior: sign out on one device and confirm the session ends server-side, revoke a session from MAS and confirm the app is asked to sign in again, and disable a test user upstream and confirm access stops. Check the Synapse and MAS logs for errors during each action. Done means every check passes in the test environment and the results are written up for the security review before any staff account is migrated.
Document the baseline and plan the production cutover
Write down the Synapse version, Python and PostgreSQL versions, MAS version, upstream provider configuration, reverse proxy routes and the test results, and assign an owner for each. Confirm with your Synapse and MAS vendor or partner the upgrade path for the next release, since both projects drop support for Python and PostgreSQL versions once they reach upstream end of life. Plan the production cutover window and a rollback position that includes a database backup taken before the change. Done means the production runbook has been reviewed by the people who will operate it and the approved baseline can be compared against the live server after cutover.
How MAS brokers logins to your identity provider
A sign-in to Element X passes through four parts: the client, Matrix Authentication Service, Synapse and your upstream identity provider. Knowing which part handles which step tells you where to configure settings and where to look when a login fails.
Element X client
Element X is the client staff open on phones and desktops. It does not check passwords itself. It starts an OpenID Connect flow against the authentication service of the homeserver it is pointed at, then keeps the resulting session. Confirm that the client build you distribute points at your homeserver and that your users can reach the authentication service address during sign-in, since a blocked address stops login before identity is checked.
MAS upstream docsMAS as the OAuth 2.0 provider
Matrix Authentication Service is the OAuth 2.0 and OpenID provider in this chain. It implements the OIDC-based authentication described in MSC3861 and issues the tokens that Element X and Synapse rely on. MAS holds the session state and decides whether a user is signed in. Plan who operates it, where its database lives and how its configuration is versioned, because every Element X login depends on it being available.
Synapse as the homeserver
Synapse stores rooms, messages and account data, and it trusts MAS to say who a token belongs to. It must be configured to delegate authentication to MAS rather than run its own login flow for these users. Check that the server name, the MAS endpoint and the shared secrets match on both services, since a mismatch shows up as failed sign-ins that look like identity provider errors.
Upstream OIDC identity provider
The upstream provider is where passwords, multi-factor prompts and group membership live. MAS documents Keycloak, Microsoft Entra ID, Google and Authentik as upstream examples. Confirm that your provider already issues OpenID Connect tokens with the claims MAS needs to create a Matrix user ID, and that your directory's groups or deprovisioning rules are mapped before users are invited, since they decide who can sign in.
SAML and LDAP sources need a bridge
MAS does not support SAML. If your directory only speaks SAML or LDAP, the MAS documentation recommends a bridge such as Dex in front of it, so that MAS sees a standard OpenID Connect provider. This adds a service you must run, patch and monitor. Ask the identity team whether an OIDC front for the existing directory already exists before choosing this route.
How Element X, MAS, Synapse and the identity provider connect
The diagram starts at Element X, which sends users to Matrix Authentication Service (MAS) for OIDC sign-in. MAS hands the login to your upstream identity provider, then issues the session that Element X presents to Synapse. Element X then sends sliding sync requests straight to Synapse through the public reverse proxy. Check that the proxy routes both MAS and Synapse, and that the internal network boundary sits where you expect.
Login and sliding sync paths through the reverse proxy, with the internal network boundary marked.
Questions teams ask before moving staff to Element X
Does an existing Synapse server need an upgrade before Element X?
Yes, if the server predates native sliding sync. Synapse 1.114.0, released September 2, 2024, enabled native Simplified Sliding Sync (MSC4186) by default, so any server older than that line must move forward before staff can use Element X. The size of the gap sets the work. A server a few releases behind is a routine step, while a server many releases behind means reading every set of upgrade notes in order. Check your PostgreSQL and Python versions early, because Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. Rolling back can be difficult because of schema changes, so take and test a database backup before each step. Read the Synapse upgrade notes for every release in your path.
Is Matrix Authentication Service mandatory for Element X?
Plan on it. Element X signs users in through next-generation OIDC authentication delivered by Matrix Authentication Service (MAS), which implements the OIDC-based authentication described in MSC3861. MAS delegates sign-in to an upstream provider such as Keycloak, Microsoft Entra ID, Google or Authentik. It does not support SAML directly, and the MAS documentation recommends a bridge such as Dex for SAML or LDAP. If your identity provider is SAML-only, that bridge becomes another service you must run, patch and monitor. Confirm with your identity team which upstream provider you will use, and decide what happens to existing Synapse SSO settings such as oidc_providers or saml2_config. The MAS upstream identity provider guide explains how to connect each option.
What does migrating existing Matrix accounts involve?
Accounts move from Synapse's local login to identity managed by MAS, so each user's Matrix identity must map to an account at the upstream provider and sessions must be re-established. The work includes matching existing user IDs to identity provider accounts, deciding how passwords, devices and admin accounts are handled, testing sign-in on a copy of the production database, and telling staff what they will see at first sign-in. Ask any partner to show the account mapping plan and the rollback steps in writing. The exact sequence depends on your Synapse version, configuration and MAS release, so confirm each step against current MAS documentation and a restore test before you schedule a cutover.
Can we keep Dendrite and still use Element X?
Not as a current setup. Dendrite does not yet support MSC4186 Simplified Sliding Sync or MSC3861 next-generation OIDC authentication, which limits its compatibility with Element X. Your practical options are to run Synapse, which has native sliding sync and works with MAS, or to keep Dendrite for other purposes under a separate plan. Check the Dendrite repository before you decide, because support status can change between releases. If Dendrite holds production accounts today, the move to Synapse becomes a data migration with its own testing and user communication, so include it in the scope and timeline from the start.
How long does the work take, and what drives the effort?
The duration depends on several factors, and no single figure applies to every server. The main drivers are the version gap between your current Synapse and the target release, because each skipped release adds upgrade notes and schema changes to test. The identity provider matters next: an existing OIDC provider is simpler than a SAML-only environment that needs a bridge. The number of users and rooms affects how long migration tests and sign-in checks take. Custom authentication, such as password auth providers or modules, adds test cases, and database and platform floors may force an operating system or PostgreSQL upgrade first. Ask for a quote that breaks the work into phases with dates tied to your change windows.
What does the work need from our own team?
Expect to name owners for each area, even if a partner does the hands-on work. You will usually need an identity administrator to configure the upstream provider and approve claims, a Synapse or database administrator to own the server and backups, and someone who controls DNS, certificates and the reverse proxy. Security or compliance should sign off on logging, access and retained data, and the service desk needs a plan for staff questions during sign-in changes. Your team also supplies test accounts, access to staging, and time in change windows for cutover and rollback. Missing any of these owners is a common reason the schedule slips, so confirm them in the scope document.
Can our own team do this without an implementation partner?
Yes, if your team already runs Linux, PostgreSQL and an identity provider, and can give the upgrade notes, testing and cutover enough time. Doing it in-house keeps the work on your own budget and staff, but the cost sits in engineer time and the risk of an outage or a failed rollback falls on your team. A partner works from a fixed scope with deliverables and timelines agreed in writing before work starts. DeployOpen implements, hardens, documents and supports open-source platforms in infrastructure you control, and it offers ongoing support and upgrades as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope.
Security and operational risks of the MAS and Synapse split
Running Element X means operating two services that must agree on identity, versions and trust boundaries. The cards below cover the risks that tend to surface after launch: platform support, upgrade reversibility, federation exposure, MAS credentials and offboarding. Each one has a concrete check you can ask your implementation partner or internal team to confirm before staff depend on the server.
Keep Python and PostgreSQL supported
Synapse drops support for Python and PostgreSQL versions once they reach upstream end of life, and recent releases raise the floors. Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. Check the platform floor in every upgrade note before you schedule a release, because an OS image that is still supported can still fall below what the newest Synapse needs.
Synapse upgrade notesPlan for one-way schema changes
The Synapse upgrade notes warn that rolling back can be difficult because database schema changes land between releases. A restored snapshot from before an upgrade is often the only dependable way back, so the backup has to be taken and tested before the upgrade starts. Ask your team to confirm how long a restore takes on your database size, and where the MAS database sits in the same rollback plan.
Lock down the federation listener
Synapse federates on port 8448 by default, and that listener is reachable from other servers unless you restrict it. Your choice of federation_domain_whitelist decides which remote domains can talk to your server, and an empty list disables federation entirely. The configuration manual also recommends firewalling the federation listener, so confirm the firewall rule and the whitelist match your policy before Element X users are onboarded.
Manage MAS secrets and client registration
MAS holds the OAuth 2.0 client settings and secrets that Synapse and the upstream identity provider rely on. A leaked client secret or a loose redirect URI lets an attacker mint sessions against your homeserver. Store these values in your secrets manager, keep the redirect URIs exact, and limit who can edit the MAS configuration, since a single change there affects every Element X login.
MAS upstream identity providersRevoke sessions when staff leave
Disabling a user in the upstream identity provider does not, on its own, end sessions already issued by MAS on Element X clients. Offboarding has to cover the Matrix side too: end the user's MAS sessions, deactivate the account on Synapse, and confirm that devices stop syncing. Ask your partner to document this as a runbook and test it with a sample account, so the revocation path is proven before a real departure.
Why Dendrite deployments cannot meet these requirements today
Dendrite cannot meet the Element X requirements today because it does not yet support MSC4186 Simplified Sliding Sync or MSC3861 next-generation OIDC authentication. Element X depends on both: sliding sync is how the client loads room lists and timelines efficiently, and MSC3861 is the OIDC-based model that hands account login to MAS. A Dendrite server can accept traffic from other Matrix clients, but staff using Element X against it will not get the full feature set the client is built around, and the gap sits in the homeserver, not in your network or reverse proxy.
For a team that already runs Dendrite, the decision is whether to plan a homeserver change or wait for upstream support. Waiting carries no fixed date, so do not schedule a rollout to Element X on the assumption that Dendrite will close the gap by a particular time. If Element X is a requirement for staff, plan a migration to Synapse, which natively supports sliding sync from v1.114.0, and budget for user, room and media migration, client reconfiguration and a parallel test period. Ask the Dendrite project and your own engineers to confirm what the current release supports before you commit either way.
Before making that call, check the element-hq/dendrite repository for the current status of MSC4186 and MSC3861, including open issues, pull requests and release notes. Record the date and the release you checked, because the answer changes as the project ships. If you keep Dendrite for another purpose, such as a federated server used only with other clients, document that limit in your client policy so that Element X is not approved for it by default, and re-test the decision each time you plan a Synapse or Dendrite upgrade.
How DeployOpen scopes and delivers Element X readiness
DeployOpen approaches Element X readiness as a fixed-scope engagement inside your own infrastructure. We check your homeserver against the Synapse and MAS requirements, configure or migrate the parts that are missing, and hand over documented, tested systems your team can operate.
How we scope
- Written scope confirms your current homeserver implementation, Synapse version and database before any change is planned.
- The scope states whether native Simplified Sliding Sync and MAS-based OIDC authentication are in or out of the work.
- Identity provider, user count and client rollout plans are recorded so the quote follows from the written scope.
How we build
- Synapse is configured for sliding sync, and the Matrix Authentication Service is deployed against your chosen upstream identity provider.
- Upgrade notes for each Synapse release in the path are read and applied in order, with a rollback limit recorded before changes start.
- Element X sign-in, room sync and account behavior are tested with staff accounts on a staging homeserver before any production cutover.
How we hand over
- Deliverables include configuration files, the identity provider mapping, the upgrade record and a verification checklist for your team.
- Runbooks describe how to add users, rotate OIDC client secrets and roll back a failed Synapse upgrade.
- Your administrators are walked through the admin settings and logs they will use day to day after handover.
How we support
- Ongoing support, Synapse upgrades and continuous testing are available as retainers after the initial scope closes.
- Retainers can cover new Synapse releases, MAS updates and changes to the identity provider over time.
- Ask any provider to confirm in writing which versions, environments and support hours are included in the retainer.

