Require Jitsi Hosts to Sign In and Protect Rooms with Passwords

Illustrative example: A small nonprofit runs a self-hosted Jitsi Meet server at meet.example.com. Its coordinator wants only approved staff to start new rooms, while invited guests can join without an account; some meetings also need a room password. On the official Jitsi Docker deployment, enable internal authentication and guest access, create Prosody accounts, then set a password inside each meeting when needed. These are separate controls: host authentication gates room creation, and a room password gates entry to a particular room.

This walkthrough is for the official docker-jitsi-meet setup. Jitsi’s current Docker handbook documents ENABLE_AUTH, ENABLE_GUESTS, and AUTH_TYPE=internal. If your server uses Debian packages, Kubernetes, a managed Jitsi service, or a customized compose file, use the matching deployment guide; paths and authentication providers differ. The handbook’s older “Secure Domain” recipe is marked deprecated for new installations, so this article does not ask package users to apply that legacy configuration.

Docker environment editor showing ENABLE_AUTH=1, ENABLE_GUESTS=1, and AUTH_TYPE=internal
In the Docker deployment, these three environment settings enable authenticated hosts and guest participation.

1. Confirm the deployment and prepare a rollback

Sign in to the server that runs the Jitsi Compose project. Find its .env file and the directory containing docker-compose.yml or compose.yml. The example below assumes the standard official Docker deployment and its default internal XMPP domain, meet.jitsi. If your administrator changed XMPP_DOMAIN, substitute that exact configured value in the account command later.

Before editing, save a copy of the current environment file somewhere readable only by administrators. It can contain secrets such as passwords and authentication keys. Do not paste it into a ticket or publish it. Confirm that HTTPS already works at the public Jitsi hostname; the Jitsi self-hosting overview explains why a trusted certificate is important for WebRTC media and browser access.

2. Enable host authentication while keeping guest access

Open the project’s .env file. Set these variables, adding them if absent or changing their existing values:

ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=internal

ENABLE_AUTH=1 requires an authenticated account to create a conference. ENABLE_GUESTS=1 allows participants who are not signed in to join a conference after an authenticated host has created it. AUTH_TYPE=internal selects the local Prosody user database. Keep the three values together for this use case; turning off guest access changes the intended workflow because every participant may need credentials.

Save the file and apply the environment through the project’s normal Compose procedure from the directory containing the Compose file:

docker compose up -d

Compose reconciles the services with the changed environment. Watch the output for configuration or container errors, and check service status with docker compose ps. Avoid editing generated files under mounted configuration directories to achieve the same result: the Docker entrypoint manages much of that configuration from environment variables.

Prosody terminal command registering host1 on the meet.jitsi domain with a placeholder for a strong password
The account command runs inside the Prosody container; replace every example value, especially the bracketed password placeholder.

3. Create an account for each approved host

The official Docker guide creates internal users with prosodyctl inside the prosody container. Open a shell there:

docker compose exec prosody /bin/bash

Then register an account, replacing host1 with a unique username and replacing the final value with a strong password. The square brackets below are explanatory placeholders; do not type them literally.

prosodyctl --config /run/prosody/config/prosody.cfg.lua register host1 meet.jitsi ChooseAUniqueStrongPassword

The handbook notes that this command may complete without printing a success message. If the account fails to authenticate, check the exit status and logs, then verify the configured XMPP domain. Type the password directly at the terminal only when you are comfortable with its exposure in shell history or process listings; use an operationally approved method for secrets management if your environment requires it.

Repeat for each person who should be able to start rooms. Share credentials privately and avoid a single shared account: individual accounts make it possible to revoke access for one host. To remove an account later, the documented command inside the Prosody container is prosodyctl --config /run/prosody/config/prosody.cfg.lua unregister host1 meet.jitsi. Protect access to the server itself, since an administrator with container access can manage these accounts.

Conceptual Jitsi host sign-in form with username and password fields and a sign-in button
An approved room creator signs in before starting a new conference; the illustrated form is conceptual.

4. Start a room, then add a room password if needed

Sign in using the account you created and start a meeting at the self-hosted hostname. A person without an account should not be able to create a fresh conference; they can join a room after its authenticated host has created it. Send guests the exact meeting link, and tell them whether a room password is required.

For a second, room-specific control, open the meeting’s security or more-actions controls and choose the room password option if it is available in your deployed client. Enter and confirm the password, then share it with invitees through a separate trusted channel where practical. Jitsi’s self-hosting guide distinguishes this per-room password from server access control. User interface labels can vary by client version, so do not assume a missing control means the host authentication setting failed.

A room password is not a substitute for host accounts: it protects one meeting but does not prevent an unauthenticated visitor from creating another room on an otherwise open server. Conversely, requiring an authenticated host does not automatically put a password on every room. Use both when your policy requires approved room creators and an additional barrier for a particular meeting.

Conceptual room password entry with a lock icon and masked password
A room password applies to that meeting; distribute it only to people who should enter.

5. Verify both controls with a separate browser

  1. Open a private browser window or a second browser profile that is not signed in.
  2. Try to start a brand-new room. Confirm the server requires host authentication before creating it.
  3. Sign in as the approved host, start a new room, and copy its link.
  4. Join from the unauthenticated test window. Confirm a guest can enter when guest access is enabled.
  5. If you set a room password, test that room separately: a participant should be prompted for the password, and the correct password should admit them.

If any check fails, confirm that the three environment variables are in the active project’s .env, that Compose applied the changes, and that the user was registered under the configured XMPP domain. Review docker compose logs prosody jicofo web for startup or authentication errors. Do not expose logs publicly; they may include operational details.

Sources: Jitsi Meet Docker self-hosting guide; Jitsi Meet authentication guide; Jitsi Meet self-hosting overview; Jitsi Meet user guide: starting a meeting.

Leave a Comment

Require Jitsi Hosts to Sign In and Protect Rooms with Passwords

Require Jitsi Hosts to Sign In and Protect Rooms with Passwords

Set up local host accounts on a self-hosted Jitsi Docker server, then add a separate password to meetings that need tighter guest access.

Turn Off Jitsi Analytics Without Losing Useful Server Logs

Turn Off Jitsi Analytics Without Losing Useful Server Logs

Disable optional Jitsi analytics and rtcstats, then set a separate retention policy for Docker logs so privacy controls do not erase troubleshooting evidence.

Let Approved Users Create Jitsi Rooms With Keycloak Sign-In

Let Approved Users Create Jitsi Rooms With Keycloak Sign-In

Allow only approved accounts to start Jitsi Meet rooms using Keycloak and token authentication, while keeping guest joining available when needed.

How to Balance December Holiday Stress and Magic: Step-by-Step Guide

Learn why December is America's most stressful yet magical month and follow 5 clear steps to manage holiday fatigue and reclaim seasonal joy.

Stop Jitsi Meet Disconnects by Checking the Network Path

Stop Jitsi Meet Disconnects by Checking the Network Path

Troubleshoot Jitsi Meet connection drops, isolate browser and network issues, and check the UDP and NAT settings that commonly affect self-hosted calls.

Enable Jitsi YouTube Streaming with Jibri and a Stream Key

Enable Jitsi YouTube Streaming with Jibri and a Stream Key

Configure Jibri, expose Jitsi’s live-stream control, and test a YouTube broadcast using a protected stream key.

Restore Audio in BigBlueButton Breakout Rooms

Restore Audio in BigBlueButton Breakout Rooms

Separate a participant’s device issue from a WebRTC or audio-bridge problem, then use the right checks to restore breakout-room audio.

How to Tell Why Some U.S. Cities Thrive in December: A 5-Step Guide

How to Tell Why Some U.S. Cities Thrive in December: A 5-Step Guide

Use this 5-step guide to assess weather, visitors, events, and downtown design—and understand why some U.S. cities feel lively in December.

How Ugly Christmas Sweaters Became a Multi-Million-Dollar American Tradition

How Ugly Christmas Sweaters Became a Multi-Million-Dollar American Tradition

Trace ugly Christmas sweaters from midcentury knitwear to U.S. party staple and specialty retail. Five milestones explain the trend and its sales claims.

Greenlight Dashboard Error 500: Find the Failing Service

Greenlight Dashboard Error 500: Find the Failing Service

Trace a BigBlueButton Greenlight 500 error through application logs, PostgreSQL, Redis, environment settings, and Nginx without risking room data.