Why every participant can be a moderator on an open Jitsi instance
On an open Jitsi instance, moderator controls such as muting others, removing participants and locking a room are not tied to a verified identity, so anyone who holds the room link may be able to use them. Whether that happens in your build depends on how authentication is configured, not only on the web app, so confirm it before you invite people you do not manage. Join a test room from two browsers, one as a plain participant and one as the first person in the room, then try each moderator action on the second browser. Record which actions work, and repeat the test after every change to authentication or the .env file.
Teams usually need to restrict moderator rights once a meeting carries a sensitive purpose, such as staff-only reviews, client consultations or telehealth visits, or once the room link may be forwarded beyond the people you expected. The Jitsi handbook recommends JWT token authentication for new installations and marks the older secure domain method, which relies on username and password room creation, as deprecated. With tokens, your application or identity layer decides who joins and can assert a role in the signed token. The exact claims and the config.js settings that read them are covered in the sibling topic on JWT claims and user roles, so check that topic before you design the role model.
Before you change anything, write down which people need moderator rights, which of them your identity system can identify, and what should happen to people who arrive without a token. Confirm in your own build whether guests on the anonymous domain can ever be moderators, and whether a participant who joins with a token can later lose the role or keep it for the whole meeting. Those answers decide whether a single shared moderator role is enough or whether you need per-meeting roles. Keep the answers in your runbook with the test results, because your security reviewers will ask how moderator status is granted and who can change it.
Moderator control options and when each fits
This table compares the Jitsi authentication options the Docker setup supports, and whether each one ties a verified identity to a moderator role or only confirms that someone signed in. Read the last two rows first, because they decide whether a moderator can be trusted with the meeting. The main takeaway is that on an open instance everyone is a moderator, and only token roles or a verified identity model can narrow that.
| Option | Who can become a moderator | Connects a verified identity to a moderator role? | When it fits |
|---|---|---|---|
| Open instance, no authentication | Every participant who opens the room | false | Public or low-risk meetings where any participant may control the room |
| Internal Prosody accounts | Users with an XMPP account on your server who sign in | false | Small teams that need a sign-in gate but do not need per-user roles from another system |
| JWT token roles | Participants whose signed token carries a moderator claim | true | Meetings opened from your own application or identity layer, where your system decides who hosts |
| LDAP verification | Directory users who authenticate, with moderation set by the Jitsi configuration | false | Organizations that want directory sign-in; confirm how moderator status is assigned in your version |
| Matrix user verification | Matrix users whose homeserver verifies them | false | Teams already running Matrix; confirm how moderator status is granted in your deployment |
| Hybrid Matrix plus JWT | Matrix-verified users, with moderator status issued through signed tokens | true | Matrix sign-in combined with token-based roles; confirm the claim behavior before relying on it |
| Authentication method | Set through the .env file in the Docker setup | null | Change this value on every Docker install, then test with a moderator and a non-moderator account |
Setting moderator roles with JWT token claims
The application that starts a meeting is responsible for deciding who is a moderator. When a signed-in user opens a room, the application builds a JSON Web Token that describes that user and signs it with a secret shared with the Jitsi server. The token carries the user's identity, such as a name, email and avatar, and a moderator flag in its context section. Your identity layer or booking system is the right place to set that flag, because it already knows who owns a meeting or who holds a teaching or host role. Moderator status should never come from a value the browser can edit.
- Identity from your system: Take the name and user ID from your directory or single sign-on session, not from a form the user fills in.
- Moderator flag set server-side: Compute the moderator value on your server from roles you already manage, then sign it.
- Short token lifetime: Set an expiry that matches the meeting window so an old token cannot be reused for a later session.
- Room name bound to the token: Restrict the token to the room it was issued for so it cannot open other rooms.
- Signing secret kept on the server: Store the secret in your secrets manager and rotate it through a planned change.
Confirm the exact claim names and their location in the token for the release you install, because the structure has changed between versions. The token authentication handbook page is the reference to check against.
Prosody, the XMPP server in a Jitsi deployment, is where tokens are checked. The token authentication module is enabled for the virtual host that serves authenticated meetings, and it is configured with the application ID and the application secret that the issuing application uses. Prosody verifies the signature, checks that the audience and issuer match the configured values, and confirms the token has not expired and matches the requested room. If any check fails, the participant cannot join the room. The application ID and secret must match exactly on both sides, so a mismatch is the most common cause of users being rejected.
- Application ID and secret match: Keep both values in the same configuration change and verify them after every rotation.
- Audience and issuer checks: Set these values to the names your issuer uses, so tokens from other systems are rejected.
- Expiry enforcement: Confirm that expired tokens fail in a test before relying on the expiry setting.
- Room restriction: Test that a token for one room cannot open another.
- Configuration location: Changes are made in the Prosody and Jitsi configuration files on the server, and the names of the keys depend on the installed version.
After any change, test with a token that should be accepted and one that should be rejected. Keep both test results with the change record.
A token-authenticated deployment is usually paired with an anonymous domain for guests. Guests join through the anonymous domain without a token, so they cannot be granted moderator rights through a signed claim. The handbook recommends this separation, and it keeps external participants from carrying your organization's identity or moderator status. Moderators from your organization join through the authenticated domain, and the two domains are linked so that a guest can be admitted to a meeting that an authenticated host has started. The exact behavior of the anonymous domain, including how a guest waits for a host, depends on the release and configuration you install.
- Anonymous domain for guests: Route external participants to the domain that does not require a token.
- No moderator claim for guests: Guests receive participant rights only, with the moderator flag absent from their path.
- Host-first meetings: Confirm how the anonymous domain behaves when no authenticated host has joined.
- Separate sessions: Verify that a guest cannot switch to the authenticated domain by changing a URL.
- Documented admission rules: Record who may invite guests and how they are admitted, so auditors can follow the path.
Test the guest path from an outside network and from a browser that has no session with your identity provider.
Moderator rights should be tested as a separate control, not assumed from a working meeting. A useful test set includes a token with the moderator flag, a token without it, a guest, an expired token, a token for another room and a token signed with the wrong secret. Each should produce a known result. Run the same set on a staging server after any upgrade, configuration change or secret rotation. Record the outcome of each case, the release identifier and the configuration version, so a later review can see what was tested and when. Where the team cannot reproduce a result, the handbook is the first reference, and the Jitsi project's public issue tracker is the next place to check.
- Positive and negative cases: Test accepted and rejected tokens with the same meeting path.
- Moderator actions: Confirm which controls appear for a moderator and which do not for a participant.
- Staging first: Run the test set on a copy of production before changing live configuration.
- Regression after upgrades: Repeat the set after each release change, because claim handling can change.
- Evidence kept: Store the results with the change ticket.
Before go-live, confirm the exact claim names and config.js settings for your installed release against the token authentication handbook page, and have the owner of the issuing application sign off on the test results.
What moderators can and cannot do in a Jitsi meeting
On a self-hosted Jitsi Meet, the moderator role controls meeting-level actions such as muting, removing people and gating entry. The limits sit outside the meeting: encryption, server configuration and authentication decisions stay with the operator and the identity layer. Confirm each action against your release before you write a moderator policy.
Muting and removing participants
Moderators can mute audio or video for other participants and remove people from the room. These actions affect the live session only, so they are the first tool for disruptive attendees. Confirm in your release whether moderators can mute everyone, mute individual participants, or both, and whether a removed participant can rejoin without a new decision by the moderator. Test these controls with two accounts before you rely on them in policy.
Token authentication docsLobby and room password control
A moderator can often enable the lobby, admit or deny knocking guests, and set or change a room password. These settings decide who reaches the meeting after authentication has already run. Check whether the lobby is persistent in your build, who can toggle it, and whether a password bypasses the lobby, because that changes who can enter without a moderator's approval.
Starting meeting features
Moderators typically start or stop features such as screen sharing, recording or a shared document, depending on the extras installed. Whether a moderator can start recording depends on the Jibri components and on token or user role settings. Confirm which features need extra services on your deployment, since a feature missing from the server cannot be enabled by any moderator.
Encryption stays fixed
Moderators cannot switch the network encryption that Jitsi applies to audio and video, which is DTLS-SRTP. End-to-end encryption is a separate setting that participants and the client use, and it is limited to audio, video and screen sharing. Treat the encryption posture as a deployment decision made by administrators, and record it in your meeting policy so moderators are not assumed to control it.
Jitsi security pageServer configuration remains with administrators
Moderators cannot change the web server, Prosody, Jicofo or videobridge settings, nor the files that hold authentication options. Those changes happen on the host, through the .env file for Docker or configuration files for packages. Keep administrator access separate from moderator roles, and review who holds shell or container access before you assign the moderator role broadly.
Authentication decisions made outside the meeting
A moderator cannot override who was admitted by the identity layer. If your token issuer or internal accounts decide a user is not a member, a moderator inside the room cannot grant access. Define the source of moderator status, usually a token claim or an internal account, and confirm the exact claim or role names in your release before you write rules about who may moderate.
How to restrict moderator rights step by step
This sequence turns moderator rights from a default into a deliberate decision, so that only staff your identity system approves can start, lock, or control a meeting. Each step ends with a check you can repeat after changes.
Confirm which identity system is authoritative
Decide which system is the source of truth for who is staff, such as your existing directory, single sign-on provider, or the application that schedules meetings. Document which groups or roles count as approved moderators and who owns that list. This is done by the security or IT lead with the application owner. You know it is done when you can name one system, one group or role attribute, and one owner for every person who should hold moderator rights.
Choose the authentication mode
Pick how Jitsi will verify users: JWT tokens issued by your application, internal XMPP accounts, LDAP, or Matrix-based options, as listed in the Docker guide. The Jitsi handbook marks the older secure domain method as deprecated for new installations and recommends JWT token authentication. Set the chosen mode in the
.envfile for Docker, or in the Prosody configuration for Debian packages. Confirm the exact keys with the version you deploy. You know it is done when a fresh browser session cannot create a room without the mode you selected.Map identity claims to moderator status
Write the rule that converts your authoritative attribute into the moderator claim in the token. Typically the application server reads the approved group or role and sets the moderator flag only for those users, while every other user receives a token without it. Keep this logic in the trusted application, not in the browser. Have a second engineer review the rule against your list from step one. You know it is done when the mapping matches the written list for every test account.
Restrict token issuance to trusted applications
Limit which services can sign tokens. Keep the signing secret or private key in your secrets store, limit access to the service that issues tokens, and rotate the key through a documented process. Confirm that the token audience and the tenant or room scope match your deployment so a token for one application cannot be reused elsewhere. You know it is done when a token signed by an unapproved service or with a wrong audience is rejected when you try to join.
Test with a non-moderator token
Create a test token for an ordinary staff member without the moderator claim, then join a meeting you own. Confirm that the participant can speak and share, but cannot mute others, end the meeting for everyone, or change moderator settings. Also check that the user cannot grant moderator status to anyone else. Record the result with the token claims used. You know it is done when the non-moderator session shows no moderator controls and the meeting still functions for the host.
Test with a guest and an unauthenticated user
Join once as a guest through the anonymous path if you use one, and once with no token at all. Check that neither session can take moderator actions, that the room cannot be opened without the authentication you configured, and that guests are placed where your policy expects, such as a waiting area. Confirm that the guest domain does not inherit the moderator claim. You know it is done when both sessions are limited as your policy describes and the failures are logged for review.
Document the policy and schedule rechecks
Write a short policy that names the authoritative system, the moderator criteria, the token issuer, the signing key owner, the test accounts, and the steps for granting or removing moderator rights. Store it with your Jitsi runbook and link it from your access reviews. Repeat the non-moderator and guest tests after each Jitsi upgrade or change to the token code, because configuration keys can change between releases. You know it is done when another engineer can follow the document, run the tests, and reach the same results.
How a signed token reaches moderator status
The flow starts when a user signs in to the identity layer of your application, not to Jitsi. The application then issues a JWT whose claims carry the moderator role, and the browser presents that token to Prosody when it joins a room. Jicofo and the join decision then determine whether the participant gets moderator rights. The trust boundary sits between your application and Jitsi: Jitsi trusts the token only if it was signed with the secret or key your deployment expects, so check the signing configuration and the moderator claim in a test token before you go live.
Moderator status depends on a signed token crossing the application-to-Jitsi trust boundary.
Security risks when moderator rights are not restricted
On an open Jitsi instance, anyone with a room link can act as a moderator, so the risks below all trace back to moderator rights that nobody decided to grant. Each card pairs a risk with the control that narrows it, from token design and secret handling to guest separation and review.
Shared room links give moderator power
On an instance without authentication, anyone who has a room link can join and use moderator controls, including removing participants and locking the meeting. A link forwarded outside the team or posted in a public channel is enough for a stranger to disrupt a session. Check whether your instance requires authenticated room creation or JWT tokens before any meeting uses it, and confirm which participants can see the room URL.
Token authentication docsOverly broad moderator claims in tokens
A JWT token can carry a moderator claim that grants host rights to whoever holds the token. If the issuing application sets that claim for every signed-in user, or for guests, the authentication step protects the door but not the controls behind it. Review the claim logic in your token issuer, and test with a standard participant token to confirm it cannot remove others or lock the room.
Leaked signing secrets
Tokens are signed with a shared secret between your application and the Jitsi server. Anyone who obtains that secret can mint a token with any name, room and moderator claim, bypassing every other rule. Store the secret in a secrets manager, restrict who can read the Jitsi configuration file, and plan rotation so a suspected leak can be closed without a long outage. Confirm the rotation steps with your deployment team before go-live.
Long-lived tokens
A token that stays valid for a long time keeps its moderator rights after the person has left the organization or the meeting has ended. Set short expiry times that cover the meeting plus a margin, and issue tokens per session rather than reusing one for a recurring room. Ask your team to confirm the expiry setting they will use and how it is enforced on the server side.
Guests inheriting host controls
External participants who join through the same domain as staff can end up with the same visible controls and, if tokens are loose, the same rights. Keeping guests on a separate anonymous domain and reserving authenticated domains for staff limits what an outside participant can reach. Test a guest session to confirm it cannot open moderator menus or change room settings.
No record of who moderated
When a meeting is disrupted or a participant is removed, the team needs to know which account acted and when. Without logging, a shared or misused moderator identity cannot be traced. Check whether your deployment and components produce moderator action logs, forward them to your central log store, and confirm retention with your compliance owner. Treat any gap you find as a planning item, not an assumed capability.
Questions teams ask before restricting Jitsi moderators
Can we restrict Jitsi moderators with our own team?
Yes, if your team can run a Jitsi Meet deployment and has someone who can change authentication settings and test them. Restricting moderators is mostly configuration: choosing an authentication method, issuing tokens from an application you control, and checking which roles and permissions each token carries. The harder part is the surrounding work: deciding who should be a moderator, keeping token issuance aligned with your identity source, and retesting after every Jitsi upgrade. Teams that have never run Jitsi with authentication enabled usually find the Jitsi handbook's token authentication guide (token authentication guide) a useful starting point before deciding whether to build it in-house or bring in a partner.
What do we need in place before moderator rights can be limited?
You need three things before the work starts. First, an identity source that knows who your people are, such as internal accounts, LDAP, or an existing single sign-on provider. Second, an application or identity layer that can issue signed JWT tokens for signed-in users, since the handbook recommends token authentication over the deprecated secure domain method. Third, a written test plan that covers who should and should not receive the moderator role, guest joins, expired tokens, and rooms created without a token. Without these, the moderator setting is only a configuration value nobody has verified.
What makes the effort grow when restricting moderators?
Effort rises with the number of applications that issue tokens, because each one needs the same signing key handling, claim format and role logic. An existing single sign-on setup lowers effort because identity and roles already exist, but it still needs mapping to Jitsi token claims. Your guest policy also matters: if external participants join through an anonymous domain, you must confirm they never receive moderator rights by accident. Other drivers include the number of meeting types, whether booking systems set passwords or lobbies, and how many teams need different roles. Ask for each of these to be listed in the scope so the estimate reflects your environment.
How long does it take to restrict Jitsi moderators?
No duration can be given in general, because it depends on your environment. The main variables are how many applications issue tokens, how mature your identity source is, how many roles you need, and how much testing your compliance or security teams expect before rollout. A single application with one identity source and a simple moderator rule is a very different job from several applications with separate role models. Ask any provider, including DeployOpen, to state the duration in the written scope after reviewing your identity setup and token-issuing applications.
What should a quote for this work include?
A quote should name the work in writing, not just a total. Ask for the list of applications that will issue tokens and the identity source each one uses, the token claims and roles to be configured, how the guest domain and lobby behave, and the test cases that prove moderator rights are granted only where intended. It should also state what you receive, such as configuration files, a runbook for issuing tokens, and retest evidence after changes. Clarify what is one-time work and what recurs, including upgrades and any retainer for continuous testing. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and quotes follow from that written scope.
What can a moderator still do after token roles are set?
Moderator rights in Jitsi cover actions inside a meeting, such as managing participants and changing certain room settings, so limiting the role limits those actions. The exact set of permissions depends on your Jitsi version and configuration, so confirm the current behavior in the Jitsi handbook and test it on your own instance. Do not assume a non-moderator cannot affect a meeting in ways you have not tested. Include a check in your test plan for each action your meetings rely on, and retest after each Jitsi upgrade.
What breaks most often when moderator rules are changed?
The most common problems are tokens that carry the wrong role claim, rooms that are created without a token and so fall back to unintended behavior, and guests who expect to host but receive no moderator rights. Mismatched signing keys or expired tokens also block joins, and self-signed or invalid certificates can break audio and video for some clients, as the handbook warns. Test each case against a staging instance before changing production, and keep a rollback path for the configuration.
How DeployOpen scopes moderator access controls
DeployOpen plans and implements self-hosted Jitsi inside the client's own infrastructure, and moderator access is one of the first decisions we scope in writing. The written fixed-scope agreement names the authentication model, the token issuing component, the roles each token may carry, and the configuration files that will change, so the client knows exactly what is being built before work starts. Token and authentication work is scoped separately from the video stack itself, because it touches the client's identity layer and application code.
Scope covers the Prosody and config.js changes that switch rooms from open moderation to token-based roles, along with the decision on whether guests use a separate anonymous domain. Where the client already runs an identity provider, the agreement records which accounts or groups map to moderators and how that mapping is maintained. DeployOpen tests the moderator path and the guest path separately, checking that a participant without a moderator claim cannot end, mute or manage others, and that an expired or unsigned token is refused. Each test case is recorded with its result.
The delivered output is a documented access policy: who may moderate, how a token grants that role, what happens when an employee leaves, and how the configuration is reviewed after upgrades. Clients should confirm with their own security and compliance teams which controls they need evidence for, since DeployOpen prepares systems, settings and test records for review but does not issue audit reports or certifications. Ongoing changes to the policy can be covered by a retainer if the client prefers continued support.

