Jitsi and Matrix integration

Restrict self-hosted Jitsi conferences to Matrix room members, run hybrid Matrix plus JWT access and sync room moderators to Jitsi owners. This page covers the method, prerequisites, configuration sequence and failure points.

On this page

How Jitsi and Matrix integration restricts meetings to room members

An organization that runs Matrix for chat and wants video calls limited to the members of a Matrix room can connect a self-hosted Jitsi Meet to its homeserver. The supported method is the Prosody Auth Matrix User Verification module, which the Jitsi Docker guide configures through the .env file using MATRIX_UVS_URL, MATRIX_UVS_ISSUER and MATRIX_UVS_AUTH_TOKEN. When a participant joins a conference, Prosody asks the Matrix user verification service whether that Matrix identity is allowed in. If your organization also issues JWT tokens for external guests or other applications, the hybrid_matrix_token auth type accepts both Matrix and JWT authentication in one deployment, so Matrix members and token holders can share the same Jitsi instance.

The integration checks identity, not room content. Jitsi does not read your Matrix messages, store Matrix credentials, or replicate room membership into its own database, and the Matrix homeserver and Jitsi remain separate systems that you operate, patch and back up independently. Two consequences follow. First, a user removed from a Matrix room or deactivated on the homeserver loses access only at the point of verification, so you should confirm how quickly that change takes effect for conferences already in progress. Second, Jitsi still needs its own networking, certificates and media ports, which the Matrix side does not provide. Confirm the exact verification behavior, token format and supported options against the Jitsi Docker guide for the release you deploy before planning the rollout.

Before you change any setting, decide which identity source is authoritative for video access, who owns the verification service token, and whether guests will still need a separate path. Test with one Matrix room and one non-member account on a staging instance, then check that the non-member is refused and that the lobby behaves as you expect. The MATRIX_LOBBY_BYPASS option lets Matrix room members skip the Jitsi lobby, so decide whether that bypass fits your meeting policy before enabling it. Plan the verification service as part of the same change control as the homeserver, because a failure in either one stops meetings from starting.

What you need before connecting Jitsi to Matrix

The Matrix integration touches three systems: the Jitsi Docker deployment, a Matrix homeserver and the network path between them. Each card below is a prerequisite that has to be in place before the authentication settings can be tested, and each one fails in ways that look like Jitsi faults.

A Jitsi Docker deployment

The Matrix settings are documented for the official Docker setup, configured through the .env file, so the starting point is a working Docker deployment with the web, prosody, jicofo and jvb containers running. Confirm that a plain test meeting works on the Jitsi domain before you add any authentication, so that a later failure can be traced to the Matrix layer. Keep a copy of the .env file under version control, since the Matrix values will be edited there.

Jitsi Docker guide

A Matrix homeserver with a verification endpoint

Jitsi checks Matrix users through a user verification service (UVS) endpoint, which the Prosody Auth Matrix User Verification module calls with the URL in MATRIX_UVS_URL. Synapse is the most widely documented homeserver, but confirm that the homeserver release you run has the verification endpoint that your Jitsi version expects. Check the supported Synapse release notes before you choose a version, because the minimum PostgreSQL and Python versions also change between releases.

Synapse upgrade notes

A UVS token and issuer value

The Docker guide expects three values from the Matrix side: MATRIX_UVS_URL, MATRIX_UVS_ISSUER and MATRIX_UVS_AUTH_TOKEN. The token is a shared secret, so store it in your secrets manager and not in a shared document or chat thread. Agree the issuer string with the team that runs the homeserver, because a mismatch produces login failures that look like wrong passwords.

Valid HTTPS on both sides

The Jitsi handbook states that HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially with mobile clients. The Matrix UVS endpoint must also be reachable over HTTPS with a certificate that Prosody trusts. Confirm that the certificate chain is complete and that the hostnames in both the Jitsi and homeserver certificates match the URLs you configure.

Network path from Prosody to the homeserver

Prosody, not the browser, calls the Matrix UVS endpoint, so the path that matters runs from the Prosody container to the homeserver. Confirm that the Docker host can reach the homeserver URL on the required port, that DNS resolves inside the containers, and that any egress firewall or proxy allows the request. Test the path from inside the Prosody container before you start the stack, since a blocked call looks like a failed login.

A test plan and a named owner

Decide who owns the Matrix credentials on each side, and agree a test plan with a Matrix room whose members and moderators you know. The plan should cover a member joining, a non-member being refused, and a moderator becoming the room owner once MATRIX_UVS_SYNC_POWER_LEVELS is enabled. Note that the Docker guide is the basis for these settings, so confirm exact variable behavior against the release you deploy before you go live.

How a Jitsi join request is checked against Matrix

The check starts in the browser, which sends a join request to Jitsi Meet's web app and then to Prosody, the XMPP server handling authentication for the room. Prosody's Matrix user verification module calls the verification endpoint on the homeserver, which confirms the user's Matrix identity and room membership. When the Matrix room moderator sync is enabled, the moderator's power level is copied into the Prosody room so the matching user becomes its owner. Confirm the endpoint URL, issuer and token in the .env file, and check that the homeserver is reachable only from the Prosody side.

Join check path from the browser through Prosody to the Matrix homeserver, with the moderator sync.

Configuring Matrix user verification in Jitsi step by step

This sequence moves a self-hosted Jitsi Meet from open room creation to one where only Matrix room members can enter a conference, with moderators mapped from Matrix power levels. Each step ends with a check you can run before users depend on it.

  1. Confirm the Docker deployment and Matrix homeserver access

    The Matrix user verification settings are documented for the official Docker setup, so confirm that your Jitsi deployment runs from Docker and that you can reach the Matrix homeserver's user verification service from the Prosody container. Your Matrix team should confirm which homeserver serves the users who will join meetings, and whether that homeserver exposes the verification endpoint you plan to use. The step is done when a test request from the Prosody host to the verification endpoint returns a response and does not time out. If the request fails, resolve network and TLS issues before changing any Jitsi settings.

  2. Choose the authentication type in the env file

    In the Jitsi Docker .env file, set the authentication type to Matrix user verification, or to the hybrid Matrix plus JWT type if some participants will join with JWT tokens from another system. The hybrid type is the choice when you need both Matrix membership and token-based access for integrations such as scheduled meetings. Record the chosen value and the reason for it, because switching later changes how every room is checked. The step is complete when the file contains one authentication type value and no conflicting entries from an earlier setup.

  3. Set the user verification service URL, issuer and token

    Set MATRIX_UVS_URL, MATRIX_UVS_ISSUER and MATRIX_UVS_AUTH_TOKEN in the .env file, using the values your Matrix administrator provides for the verification service. Store the auth token in your secrets management process rather than in a shared document, and restrict who can read the .env file on the host. The issuer value must match what the verification service writes into the tokens it issues, so confirm it with the Matrix team rather than guessing. The step is done when the three values are present, the file permissions are restricted, and the Prosody logs show no configuration errors at startup.

  4. Enable power level sync for moderator mapping

    Set MATRIX_UVS_SYNC_POWER_LEVELS so that Matrix room moderators become owners of the matching Prosody room. Without this setting, every participant joins with the same standing, and the people who run the Matrix room will not automatically control the Jitsi conference. Confirm with the Matrix room owners which power level counts as moderator in your organization, because the mapping follows the homeserver's power levels rather than a Jitsi list. The step is done when a test user with moderator power in a Matrix room joins a test conference and shows owner controls, while a regular member does not.

  5. Decide whether Matrix members bypass the lobby

    Decide whether MATRIX_LOBBY_BYPASS should be enabled. When it is on, verified Matrix room members enter directly, and only non-members or unverified users wait in the lobby if your lobby is enabled. When it is off, members still go through the lobby, which adds a moderator approval step to every meeting. Write the decision down with the owners of the affected rooms, since it changes the experience for every participant. The step is complete when the setting matches that decision and a test member's join behavior matches what the team agreed.

  6. Restart the containers and load the new settings

    Restart the Jitsi containers so the Prosody service reads the updated .env values, then check that the containers come back healthy in your container runtime. Plan this restart for a window when no live meetings are running, because existing conferences may drop. Review the Prosody logs for errors about the verification service, the issuer or the token. The step is complete when all services report healthy and the logs show that the Matrix user verification module loaded without errors.

  7. Test with member and non-member accounts

    Run the access test with at least one Matrix room member, one moderator, and one account that is not in the room. Confirm that the member joins, that the moderator receives owner controls, and that the non-member is refused entry or cannot reach the conference. Include a test with an expired or invalid token if your integration issues tokens. Keep a record of each test result, the room used and the settings in force. The step is done when the non-member join attempt is refused every time it is tried and the member and moderator results match the design.

  8. Document the settings and set a review routine

    Record the final values for the authentication type, verification URL, issuer, power level sync and lobby bypass, along with the test results. Store the auth token in your secrets process, and note which team owns the Matrix homeserver and which team owns Jitsi, so changes to either side get reviewed. Confirm with the Matrix team how the verification service handles rotation of its token and any change to its issuer, because a mismatch will block all access. The step is done when the record is stored with the owners named and the team has agreed how changes are reviewed.

Choosing between Matrix only and hybrid Matrix plus JWT

Pure Matrix user verification only admits people who hold an account on the Matrix homeserver that the Jitsi Docker setup is configured to query. An external participant without a Matrix account cannot authenticate through that path, so the meeting either needs a different route for them or it stays closed to them. The hybrid mode changes this picture because it also accepts signed JWT tokens, which lets a system issue a short-lived credential to a guest who has no Matrix identity. Guests still need an access rule of their own, so the decision is about whether you want to run a second credential path at all.

  • Pure Matrix: Only Matrix users verified through MATRIX_UVS_URL can create or join authenticated rooms. Anyone else is turned away or must wait outside.
  • Hybrid mode: The hybrid_matrix_token type accepts Matrix users and JWT holders, so a guest can join with a token your system issues.
  • Lobby behavior: MATRIX_LOBBY_BYPASS lets Matrix room members skip the lobby, which matters when guests are expected to wait for a host.
  • Guest handling: Under hybrid mode, the guest path depends on how you issue and expire tokens, so the token policy becomes part of the access design.
  • Anonymous access: Confirm how your deployment treats unauthenticated visitors in each mode before you promise a guest experience.

Before you choose, list every external group that joins meetings and confirm whether each one can hold a Matrix account or needs a token.

How Matrix power levels become Jitsi room owners

With MATRIX_UVS_SYNC_POWER_LEVELS enabled, Matrix room moderators are made owners of the matching Prosody room on the Jitsi side. The Jitsi Docker guide documents this setting as the bridge between the two permission models. Matrix decides who holds moderator-level power in a room, and the Matrix user verification service passes that role into Prosody, so a person who can moderate the Matrix room can also act as an owner when they join the Jitsi conference. Before you rely on this, confirm in your own environment that the Matrix power level you treat as moderator is the one your Matrix administrators actually use, because the mapping follows whatever threshold your rooms are configured with.

Changes flow in one direction at the time a user joins. If a moderator's power level is raised or lowered in Matrix, the Jitsi owner role should follow the next time that user authenticates into a conference, but a session that is already open may keep its previous role until it ends. The same applies to removal from the room: a user who loses membership in Matrix may still be in an active Jitsi meeting. Treat the sync as a join-time control, not a live revocation mechanism, and check with your team how long an active conference can outlive a permission change before you define your offboarding steps.

Test the exact room configuration you plan to use rather than relying on a general expectation. For each room type, create a test account at each power level, join from a clean browser session, and confirm which accounts receive owner controls such as muting others or ending the room. Repeat the check after editing the room's membership or changing a user's power level, and after restarting the verification service. The Jitsi handbook and Docker guide are the references for the current behavior of these settings, and any change in how your Matrix homeserver reports power levels should trigger the same test again.

Mapping Matrix identities, rooms and roles to Jitsi

This table compares each Matrix element with its Jitsi counterpart and the setting that links them. Read it as a checklist: the homeserver domain, the issuer value and the Synapse server_name must agree, or verification fails for every user. The main takeaway is that room membership, power levels and lobby behavior all depend on the same Matrix identity being passed correctly to Prosody.

Matrix elementJitsi sideSetting or check
User ID (@user:domain)Prosody user identity used to join a roomVerified through MATRIX_UVS_URL; confirm the domain part matches your homeserver name
Homeserver domain (server_name)Issuer that Prosody trusts for the verification responseMATRIX_UVS_ISSUER must equal the domain the homeserver uses in user IDs
Matrix roomJitsi conference room nameRoom membership decides who may enter; confirm how room names are derived from room IDs in your build
Room power level (moderator)Moderator status in the conferenceMATRIX_UVS_SYNC_POWER_LEVELS must be enabled for the mapping to apply
Room power level (owner)Prosody room owner, who can manage the roomSet by power level sync; check that owners are not granted by default to every member
Room memberAccess to the conference without a passwordChecked against the room state at join time; a member removed from the room should lose access on the next join
Room member with lobby enabledLobby bypassMATRIX_LOBBY_BYPASS lets members skip the lobby; test with a non-member to confirm the lobby still holds
Authentication token (MATRIX_UVS_AUTH_TOKEN)Credential Prosody uses to call the verification serviceStore as a secret, not in version control; rotate it under your own process

Security settings for Matrix-gated Jitsi meetings

Matrix-gated Jitsi moves access decisions onto a Matrix homeserver and a shared token, so the security of the meeting depends on several linked settings. The cards below cover the credentials, network paths, trust decisions and encryption limits that the integration depends on, and what to confirm in your own environment before go-live.

Protect the UVS auth token

The MATRIX_UVS_AUTH_TOKEN value lets Jitsi ask the verification service whether a user may join a room, so anyone holding it can probe room membership. Keep it in your secrets store, restrict the .env file to the deployment account, and keep it out of logs and container inspection output. Rotate it on a schedule you can document, and on any staff change that touched the Jitsi host. Confirm with your Matrix administrator how the token is issued and whether the verification endpoint can scope it.

Jitsi Docker guide

Restrict the verification endpoint path

Set MATRIX_UVS_URL to an address that only the Jitsi Prosody container can reach, rather than a public homeserver address. Allow outbound traffic from the Jitsi host to the homeserver's client port and deny other sources at the firewall or security group. Test the path with the Jitsi host as the only client and confirm that a request from another network segment fails. Record which hosts are allowed so the rule survives infrastructure changes.

Decide how much to trust the issuer

MATRIX_UVS_ISSUER is the value Jitsi checks in tokens from the verification service, so it defines which server is allowed to vouch for users. Set it to the exact issuer name your homeserver uses, and treat any mismatch as a configuration error rather than something to relax. Review whether other services share the same verification path, since a shared issuer extends trust to them. Confirm the exact value with your homeserver administrator before enabling hybrid mode.

Use TLS on both services

Jitsi needs HTTPS with a valid domain certificate for working audio and video, and the verification call between Jitsi and the homeserver should also run over TLS. Self-signed certificates on either side cause failures, particularly on mobile clients, so plan certificate issuance and renewal for both hostnames. Confirm that the certificate chain is trusted by the Prosody container, not only by browsers. Check that plain HTTP endpoints are closed on both services.

Review the limits of Jitsi encryption

Jitsi end-to-end encryption covers audio, video and screen sharing in supported Chromium and Electron clients, but not chat or polls. The Jitsi security page also states that the videobridge decrypts packets in memory while routing, so Matrix gating does not change media trust in the bridge. Tell users which features fall outside end-to-end encryption, and confirm with your compliance team whether that scope is acceptable for the meetings you host.

Jitsi security page

Keep federation decisions separate

Access to Jitsi rooms is not the same decision as federation on the Synapse homeserver. The federation_domain_whitelist setting controls which remote servers can exchange events with yours, and an empty list disables federation, while firewalling the federation listener limits network reach. Decide both on their own terms, document each, and confirm that closing federation does not break the Matrix users your Jitsi rooms depend on.

Synapse configuration manual

Why Matrix-gated Jitsi joins fail and how to fix them

This table lists the failures most often seen when Jitsi checks Matrix room membership through the user verification service, with the likely cause and the fix for each. Read it when a join is refused, a moderator lacks owner rights, or a mobile client cannot connect, and check the rows in order against your Docker .env values and certificate chain.

SymptomLikely causeFix
Users cannot log in and Prosody reports the verification service is unreachableMATRIX_UVS_URL points to an address the Prosody container cannot reach, often a name only resolvable on the host or a private networkConfirm the URL from inside the prosody container, correct the hostname or routing, then restart the stack so the .env value is reloaded
Every token-based join fails with an authentication errorMATRIX_UVS_ISSUER does not match the issuer the Matrix side presents, or the auth token is missing or staleCompare MATRIX_UVS_ISSUER and MATRIX_UVS_AUTH_TOKEN with the values configured on the Matrix side, and correct any mismatch before retesting
A user who is a member of the Matrix room is refused entryThe user is not joined to the room on the homeserver, or the room belongs to a different server name than the one Jitsi checksVerify the user has joined the room, confirm the server_name used in Matrix identifiers, then retest with a fresh session
Mobile clients fail to connect while desktop browsers workThe domain uses a self-signed or incomplete certificate chain, which the Jitsi handbook says causes problems on mobile clientsInstall a certificate from a public or internally trusted CA with the full chain on the Jitsi domain, then test on each mobile platform
Matrix room moderators join without owner rights in JitsiMATRIX_UVS_SYNC_POWER_LEVELS is not enabled, so power levels are not mapped to Prosody room ownersSet MATRIX_UVS_SYNC_POWER_LEVELS as documented, restart, and confirm the moderator's power level in the Matrix room
Matrix members still wait in the lobbyMATRIX_LOBBY_BYPASS is not set, or the auth type is not hybrid_matrix_token so the bypass path is not usedConfirm the auth type and MATRIX_LOBBY_BYPASS in the .env file, then test with a member account and a non-member account side by side
Non-members can still reach the roomThe room is open to anonymous or JWT joins under a different auth path, so the Matrix gate is not the only entry pointReview the auth type, the anonymous domain and any token rules, then test join attempts from an unauthenticated browser

Questions teams ask before connecting Jitsi to Matrix

What does it cost to connect Jitsi to a Matrix homeserver?

The cost is mostly the labor to design, configure and test the link, because no vendor price for the integration is published in the sources we rely on. Two parts of the work are one-time: setting up the Matrix user verification service and the Jitsi .env settings, and testing room membership, moderator sync and lobby bypass. Recurring costs come from keeping both sides current. Ask any provider for a written scope that lists the homeserver work, the Jitsi work, the testing, and the handover, and ask which items are one-time and which are retainers. DeployOpen quotes follow from a written scope and are not published as a price list.

How long does a Matrix and Jitsi integration take?

No duration is fixed by the sources, so treat any timeline as something to agree in writing. The main drivers are whether a Synapse homeserver already exists and is healthy, how many rooms and moderators need to map to Jitsi owners, whether you also need SSO or a hybrid JWT path for guests, and how many environments need testing before production. Sites that already run Jitsi with the Docker setup usually have fewer open questions than sites adding both systems at once. Ask for milestones tied to the scope, not a single end date.

What does our internal team need to provide before the work starts?

Plan to supply access and decisions, not just servers. You will need administrative access to the Matrix homeserver or a way to reach its user verification endpoint, a service token for MATRIX_UVS_AUTH_TOKEN, the public issuer name used in MATRIX_UVS_ISSUER, and a DNS name and certificate for the Jitsi host. The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially on mobile. You will also need a named owner for room policy, because moderator sync changes who holds owner rights in Jitsi rooms.

Can our own team connect Jitsi to Matrix without outside help?

A team that already runs Jitsi with Docker and administers a Synapse homeserver can make the configuration changes itself, because the variables are documented in the Jitsi Docker guide. The risk sits in the details: the verification service must trust the right issuer, the token must be scoped correctly, and the hybrid mode affects guest access. The Jitsi scalable setup guide also warns that complex infrastructure is not a task for beginning administrators. If your team is new to either system, ask a provider to review the design and run acceptance tests, and keep the configuration in version control so you can rebuild it.

How do Synapse upgrades affect the Jitsi integration?

Any Synapse upgrade can change the user verification path, so test the Jitsi login flow in a staging environment before the production upgrade. Synapse upgrade notes list minimum Python and PostgreSQL versions, and they warn that rolling back can be difficult because of database schema changes between releases. Take a database backup before each upgrade and read the release notes for changes to the endpoints Jitsi calls. Keep a record of the Synapse version tested with your Jitsi version so that both upgrades have a known good pair.

How do Jitsi upgrades affect the Matrix integration?

Jitsi upgrades can change how the Prosody authentication module reads its settings, so every Jitsi release needs a regression test of Matrix sign-in, moderator ownership and lobby bypass. The Jitsi Docker guide says containers have run rootless with read-only filesystems since stable-11146, so custom paths or mounts may need adjustment. Pin the Jitsi image version, test the new release against a copy of your configuration, and roll forward only after the checks pass. Ask any provider how they will handle a Jitsi release that changes these settings.

Does the integration change who can join or moderate a meeting?

Yes. With Matrix user verification, Matrix room members can be authenticated for Jitsi, and when MATRIX_UVS_SYNC_POWER_LEVELS is enabled, Matrix room moderators become owners of the Prosody room. MATRIX_LOBBY_BYPASS lets room members skip the Jitsi lobby. These settings grant real privileges, so review them with the people who own your Matrix rooms before rollout. Test with a user who is a member but not a moderator, and confirm that a removed member can no longer join.

How DeployOpen scopes and delivers Jitsi and Matrix integration

DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside your own infrastructure, including the Jitsi and Matrix pieces that decide who can open a conference. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Confirm which Matrix homeserver, Jitsi install method and identity sources you already run before any design work starts.
  • Agree in writing whether access will use Matrix user verification, hybrid Matrix plus JWT, or another method, with the reasons.
  • Define the moderator mapping rules, lobby bypass expectations and the Matrix rooms that will and will not open conferences.

How we build

  • Configure the Matrix user verification service and the Jitsi .env settings in a test environment that mirrors your network and certificates.
  • Test room membership, moderator sync and guest access with real accounts across browsers and mobile clients before go-live.
  • Check that the Jitsi and Matrix hosts can reach each other over the paths your firewall and reverse proxy actually allow.

How we hand over

  • Deliver a written configuration record covering every variable, secret location, host and version involved in the integration.
  • Provide an access test script and a sign-off checklist so your team can repeat verification after each change.
  • Document the upgrade steps for Jitsi and the Matrix homeserver so future updates do not break the authentication path.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped to your Jitsi and Matrix versions.
  • Retesting after Jitsi or Synapse upgrades can be added to the retainer so access rules are checked again after each release.
  • Ask for the support boundary in your quote: which hosts, which versions and which incident response hours are covered.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.