Jitsi internal authentication with Prosody accounts

Internal Prosody accounts are the simplest way to limit a self-hosted Jitsi Meet to known users. This page explains how they work, how to set them up, and when to move to LDAP, JWT or SSO.

On this page

Internal Prosody accounts: the simplest way to require sign-in on Jitsi

If an internal Jitsi should open only for staff, the simplest answer is to require sign-in against accounts held on the Jitsi server itself, using internal XMPP accounts in the Prosody server. This keeps the setup inside your own infrastructure with no identity provider to build first. It fits a small or contained user group where you can create and remove people by hand. Choose JWT or LDAP when the list of users is large, changes often, or already lives in a directory, because those options move the decision of who may sign in to a system you already manage.

Prbody text for the Jitsi stack: Prosody is the XMPP server in a Jitsi Meet deployment, alongside the web server, Jicofo and the Jitsi Videobridge. Prosody is where the accounts live. The Jitsi Docker guide lists internal XMPP accounts as one of its authentication options, configured through the .env file, and it sits beside JWT tokens, LDAP and Matrix-based options. The older secure domain method, which relied on a username and password to create rooms, is marked as deprecated for new installations in the Jitsi handbook, so do not build a new internal deployment on it. Check the current Jitsi handbook on token authentication before you commit to a design.

The trade-off is administration. Every account is created, reset and disabled by an operator, and nothing removes a leaver's access automatically. Plan who is allowed to create accounts, how departures are reported to that person, and how often you review the list. Confirm the exact .env keys, session lifetime and auto-login behavior against the version you deploy, because these details change between releases.

How internal accounts compare with JWT, LDAP and SSO

Internal accounts are the Prosody user records that your Jitsi server creates and stores itself. Your Jitsi operators create, disable and reset these accounts, and no external directory is involved. Users sign in with a username and password that exists only on that server, and the account is what lets a moderator create rooms on an authenticated domain. This option keeps the moving parts few, which suits a small team that controls a single deployment and has a limited number of people who need to host meetings.

  • Identity owner: your Jitsi administrators manage every account by hand or with scripted commands.
  • User experience: people type a Jitsi-specific username and password, separate from their corporate sign-in.
  • Lifecycle: leavers keep working accounts until someone removes them, so offboarding needs a checklist.
  • Typical fit: small teams, pilots and single-site deployments with a short, stable list of hosts.
  • Scale limit: account administration grows with headcount and does not follow changes in your HR system.

Before you rely on this option, confirm the account creation and session settings for your Jitsi version in the Docker guide and your own Prosody configuration.

How to enable internal accounts and create users

This sequence turns on Prosody internal authentication in a self-hosted Jitsi Meet, creates the first account, and confirms that signed-in and guest access behave as intended. Each step ends with a check so you know the configuration works before you open it to users.

  1. Confirm HTTPS and the domain certificate first

    Before changing authentication, confirm that the Jitsi web address resolves to your server and serves a certificate from a trusted authority for that domain. The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially with mobile clients. Your operator checks this in a browser by loading the site with no certificate warning. Do not continue until the page loads cleanly, because later sign-in tests will otherwise fail for reasons unrelated to accounts.

  2. Set the authentication mode in your deployment

    On a Docker deployment, your operator edits the .env file to select internal XMPP accounts as the authentication method, using the option names listed in the Jitsi Docker guide, then restarts the stack so the Prosody container picks up the change. On a Debian or Ubuntu package install, the operator updates the Prosody virtual host configuration for the main domain to require authentication and uses the internal authentication module, and then restarts Prosody and the web server. Check the change by confirming the services start without errors in their logs and that the Prosody configuration still loads.

  3. Create the first user with prosodyctl

    Using a shell on the host (or inside the Prosody container for Docker), the operator runs the prosodyctl user creation command for the main domain, supplying a username and a strong password when prompted. Record the account in your password management process rather than in a shared document. Verify the account exists by listing the users for the domain with the same tooling, or by confirming the creation command reported success. Accounts created this way live in Prosody's own user store, so plan where that data is backed up.

  4. Sign in from a browser as the new user

    Open the meeting site in a fresh private browser window, start a meeting, and choose the option to log in when the moderator prompt appears. Enter the account name and password created in the previous step. The check passes when the browser shows the account as logged in and the meeting shows the moderator role for that participant. Test a wrong password as well, which should be refused, and confirm the failure is logged on the server rather than silently ignored.

  5. Confirm session lifetime and auto login behavior

    Sign in, close the browser, reopen the meeting, and observe whether the session persists. Session behavior depends on the browser and the Jitsi version your operator has deployed, so confirm the expected lifetime against the handbook and your own policy rather than assuming a default. Decide with your security team whether shared workstations should disable persistence. The check is a written note of the observed behavior on each browser type you support, which becomes part of your acceptance record.

  6. Verify guest and anonymous access behaves as intended

    Open the meeting in a private window without signing in and confirm the guest behavior matches your intent. With internal accounts enabled on the main domain, a guest typically cannot create a room unless the anonymous domain is configured, so test whether an unauthenticated user is refused, waits, or joins as a guest. Document each result. If guests should join existing meetings, confirm that a separate anonymous domain is set up as described in the handbook before you tell users that guest access works.

  7. Check audio and video for a signed-in and a guest participant

    Start a test meeting with one authenticated participant and one guest, then confirm both have working microphone and camera paths and can see each other. Authentication changes can break media if the certificate or domain settings are inconsistent, so this check catches that early. Record the result, the browsers tested, and any errors shown. The step closes when both participants report stable audio and video and the moderator controls behave as the account role should allow.

Session lifetime, auto login and account settings to decide

This table compares the account and session settings you must decide before enabling Prosody internal authentication. Read each row as a question to settle with your security team, then confirm the current handbook steps for the release you install, since defaults and option names can change between releases.

DecisionWhat it controlsWhen it fitsWhat to confirm in the handbook
Account creation and removalWho creates Prosody user accounts, how they are created from the server, and how departing staff lose accessSmall internal teams where an administrator adds and removes people by handThe prosodyctl commands for adding and deleting users on your release, and whether any user listing or audit trail is available
Session lifetimeHow long a signed-in browser session stays valid before users must authenticate againSet it shorter for shared workstations or regulated meeting content, longer for trusted staff devicesWhich configuration option controls session expiry in the Docker or Debian setup, and its default value for your installed release
Auto login behaviorWhether a returning browser reuses an existing session without a promptUseful on managed corporate devices, risky on shared or unmanaged endpointsHow the web app handles stored sessions and whether auto login can be turned off in config.js or the environment file
Password policy ownerWho sets and enforces password length, rotation and reset rules for Prosody accountsClarify early if the identity team, the platform team or the application owner holds this dutyWhether Prosody enforces any password rules itself, or whether complexity and reset must be handled outside Jitsi
Guest domain settingWhether anonymous guests can reach rooms through the separate anonymous domain or only authenticated users reach themKeep guests off the authenticated domain if external participants join meetingsThe anonymous domain settings in the handbook and how the guest domain is wired in your release
Room creation scopeWhich authenticated users can open rooms on the main domain, and whether any unauthenticated user can create oneSet this before users are onboarded so rooms are not opened by accidentHow the main domain restricts room creation to logged-in accounts in your version of the handbook
Outgrowing internal accountsThe point at which account administration by hand no longer fits, such as many users or central identity requirementsMove to LDAP, JWT or SSO when a directory or application already owns identityThe LDAP, JWT and Matrix options listed in the Docker guide and the current token authentication steps

Security and operational risks of managing Prosody accounts by hand

Internal Prosody accounts are simple to create, but every account is a manual record that someone must keep current. The cards below cover the risks that appear once accounts are managed by hand, from departed staff to the single server that checks every login.

Offboarding gaps when staff leave

Each internal Jitsi account is a Prosody user record that exists until someone deletes it, and nothing in the internal account model ties it to an employment record. A departing employee or contractor keeps the ability to open authenticated rooms until an administrator removes the account. Check who owns account deletion, how it is triggered, and how quickly it happens after an exit. Confirm the procedure against your own environment, since the handbook describes account creation rather than an offboarding workflow.

Shared or weak passwords

Internal accounts are only as strong as the passwords set for them, and the password policy lives outside Jitsi unless you add one. Shared login details for a room, a team or a conference bridge are hard to revoke because every user of the credential must change at once. Decide who may hold an account, require unique credentials per person, and confirm how Prosody stores and rotates them in your build before you rely on them.

No central audit of sign-ins

Internal accounts give you no central log of who signed in, from where, and when, unless you enable and collect Prosody and Jicofo logs yourself. A regulated team may need that trail to answer an access review or investigate misuse. Check which log levels you run, where they are stored, how long they are kept, and whether they capture authentication events clearly enough to answer those questions.

Prosody as a single point of failure

Prosody is the XMPP server that holds the account store and handles authentication for the whole conference setup, alongside Jicofo and the videobridges. If Prosody is down or misconfigured, users cannot sign in or start authenticated meetings, even when the bridges are healthy. Plan a maintenance window, a tested restart procedure and monitoring for the Prosody process before you depend on internal accounts for daytime meetings.

Backups of account data

Account records sit in the Prosody data directory, so a backup that omits it leaves you unable to restore users after a failure. A backup that captures it also holds password material and personal data, so the copy needs the same access controls as the server. Confirm where Prosody keeps its data in your installation, how often it is backed up, that restores are tested, and who can read the backup set.

Media encryption does not cover account data

Jitsi encrypts audio and video on the network with DTLS-SRTP, and the videobridge decrypts packets in memory while routing and never stores them. That protection covers media, not the account store that Prosody keeps on your server. Passwords and user records remain under your own controls, so treat the Prosody host as sensitive infrastructure and document how it is hardened, accessed and updated.

Read the source

When to outgrow internal accounts for LDAP, JWT or SSO

Internal Prosody accounts stop being the right answer when the people creating and removing access are no longer the people who know who should have it. The first signal is volume and churn: if you are creating and deleting accounts by hand for a growing group of users, or if contractors and students arrive and leave every term, the account list drifts away from reality within weeks. A second signal is an existing directory. If your staff already sign in through a corporate directory, keeping a second password list in Prosody duplicates the work, widens the set of places a leaver can still get in, and gives your auditors two sources of truth to reconcile. A third signal is per-user control. Once you want some people to upload files, record, or dial in by phone while others cannot, a flat list of local accounts gives you no clean place to express that difference.

The usual next step is JWT token authentication. Instead of Prosody deciding who may open a room, your application or identity layer signs a token that asserts the user's identity and, where needed, their rights, and Jitsi Meet accepts only tokens it can verify against the shared secret or key you configure. The Jitsi handbook marks the older secure domain method, which relies on username and password room creation, as deprecated for new installations and recommends JWT with a separate anonymous domain for guests. Before you switch, confirm which of your applications will issue tokens, who owns the signing keys, how token lifetimes are set, and what happens to meetings that users already have open. LDAP is the better fit when the directory is the system of record and you want Prosody to validate passwords against it, while SSO through a dedicated identity provider suits organizations that need one sign-in across many applications. Choose based on where identity already lives, and plan the migration of existing accounts as a separate step.

What teams ask before moving Jitsi accounts into production

What does an internal Prosody account setup cost in effort, and who does the work?

Internal accounts are a configuration task on top of a working Jitsi Meet install, so the cost is mostly skilled administrator time rather than licences. Your team pays for the time to enable the internal XMPP authentication option in the Docker .env file or the Prosody configuration, create the first admin and user accounts, test sign-in from real browsers, and document the procedure. If you hire a partner, the fee follows from a written scope that names the environment, the number of accounts and the testing you expect. Ask for the one-time setup separately from any recurring account administration.

How long does a basic internal account setup take?

The duration depends mainly on whether a working, HTTPS-enabled Jitsi already exists. A team that already runs Jitsi on a proper domain with a valid certificate mostly needs time to choose the authentication mode, change configuration, restart services and test. A fresh install takes longer because DNS, certificates, firewall ports and sizing come first. Confirm the timeline against your own change process, including review windows for production changes, and ask any partner to tie the schedule to named environments and test cases.

What must our team provide before the work starts?

Plan to provide four things: a domain name that you control, a valid TLS certificate for that domain, DNS records pointing to the server, and administrator time for approvals and testing. The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially with mobile clients. The firewall must allow the required ports, and someone must own the account list, password policy and offboarding process. Ask for this list in writing so no dependency surfaces late in the project.

Can our in-house team set up internal accounts without outside help?

Yes, if you already operate Linux servers, reverse proxies and certificates, and you can test with real browsers. Internal accounts are the simplest authenticated option that Jitsi offers, so a capable team can usually complete the work from the handbook. Outside help is more useful when the same Jitsi must later connect to LDAP, JWT or SSO, when you need documented evidence for an assessment, or when your team has no time to run the test matrix. Be honest about who will carry the work after go-live.

When should we hire a partner instead of doing it ourselves?

Consider a partner when the setup must meet a defined compliance or security review, when identity must later integrate with a corporate directory, or when the platform serves many users and cannot tolerate a failed rollout. A partner is also worth asking about when internal staff are already committed elsewhere. DeployOpen implements, hardens, documents and supports self-hosted open-source platforms in your own infrastructure and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Request a fixed-scope proposal so the deliverables and test steps are agreed before work begins.

How do we move from internal accounts to JWT or LDAP later?

Plan the change as a second project, not a switch. Internal accounts live in Prosody, while JWT tokens are issued by your application or identity layer and LDAP keeps users in a directory you already run. Map which users exist in each source, decide how moderators and features are assigned, and keep a rollback path. The Docker guide lists JWT, LDAP and Matrix options configured through the .env file, so confirm the exact keys for your release. Move one group of users first, then retire the old accounts once sign-in is proven.

What recurring work remains after internal accounts go live?

Recurring work is ongoing administration: creating and disabling accounts, resetting passwords, reviewing who holds admin rights, checking session lifetime settings, and keeping the certificate renewed. You also need a process for upgrading Jitsi packages or containers and retesting sign-in afterward. These tasks recur with headcount and turnover, so estimate them from your joiner and leaver volume. Ask any partner whether the work is covered by a retainer or by a separate fixed scope.

How a sign-in reaches the Prosody account store

The flow starts when a participant opens the Jitsi web app over HTTPS from the web server on the self-hosted server. The browser then authenticates against the Prosody XMPP server, which checks the internal account. Once the session is established, Jicofo creates the conference and the Jitsi Videobridge carries the audio and video media. Check that the trust boundary covers every component you run, and that the certificate on the web server is valid for the domain users type into the browser.

Sign-in and media paths through a self-hosted Jitsi server with internal accounts.

How DeployOpen scopes and delivers Jitsi authentication

DeployOpen starts every Jitsi authentication engagement with a written, fixed scope agreed before any work begins. For internal Prosody accounts, that scope names the Jitsi Meet hosts involved, the installation method (Debian packages or Docker), the users who will need accounts, how those accounts will be created and retired, the session lifetime and auto login settings to apply, and the criteria for deciding whether the setup should move to LDAP, JWT or SSO later. The scope also records which parts stay with your team, such as DNS, certificates and firewall changes, so responsibilities are clear before the first change is made.

The planning step checks the authentication choice against your infrastructure before anything is configured. DeployOpen reviews where Prosody runs, how the prosody and jicofo components are connected, whether the .env file (in Docker) or the Prosody and config.js files (on Debian packages) are under configuration management, and who will administer accounts after handover. Our team confirms with you which identity sources already hold your staff records, because an internal account list that duplicates a directory is often the first sign that a move to LDAP or SSO is due. Implementation then happens inside your own cloud accounts, data centers or air-gapped network, and your team keeps administrative control throughout.

Verification covers account creation, login, session expiry and auto login behavior, checked against the written scope rather than a general checklist. Handover includes configuration documentation, an account administration procedure and a list of open decisions. Optional retainers cover ongoing support and upgrades after handover. DeployOpen does not publish a price list. A quote follows from the written scope, and the scope and any retainer terms should be compared with your own team's effort before you sign.

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.