@alpro said in Only one room available at a time:
With only difference that I experience it with MiroTalk SFU 1.8.60.
Not sure how is handled there, but by default, OIDC_ENABLED
is set to false
in all MiroTalk projects.
When OIDC_ENABLED
is set to true
, any user authenticated via OIDC can create and share rooms. Previously, only one user had this ability, but now this behavior is enabled by default (when OIDC is active) and can be configured through the .env
file.
OIDC_ALLOW_ROOMS_CREATION_FOR_AUTH_USERS=true // true or false (default true)
So when you visit your MiroTalk SFU instance outside the cloudron panel, (e.g., https://cloudron.your-domain-name.com), the Cloudron OIDC authentication popup will appear. Simply enter the username and password you use for Cloudron login. Once authenticated, you—or your family members—will be able to access the instance, create rooms, and share them with guests.
Additionally, you can try another approach by updating your env
file (via the Cloudron file manager) in MiroTalk SFU to enable HOST_PROTECTED mode and define a list of authorized users as follows:
OIDC_ENABLED=false
HOST_PROTECTED=true
HOST_USER_AUTH=false
HOST_USERS="username:password:User:*|admin:admin:Admin:room1,room2|guest:guest:Guest:room1,room1"
When HOST_PROTECTED
or HOST_USER_AUTH
enabled:
HOST_USERS
– Define Authorized Host Users
The HOST_USERS
environment variable is used to predefine a list of users who are allowed to log in as hosts in your application. Each user entry follows this format:
username:password:displayName:allowedRooms
Multiple users are separated by the pipe symbol |
.
Format Breakdown:
username
: The login name of the user.
password
: The password used for authentication.
displayName
: The name that will be shown in the UI (e.g., in meetings).
allowedRooms
: A comma-separated list of room names this user is allowed to create or join as host. Use *
to allow all rooms.
🧪 Example:
HOST_USERS="username:password:user:*|admin:admin:Admin:room1,room2|guest:guest:Guest:room1"
This defines 3 host users:
username
with password password
, display name user
, can access any room (*
).
admin
with password admin
, display name Admin
, can access only room1
and room2
.
guest
with password guest
, display name Guest
, can access only room1
.
For reference here.