Asking Authentication For Guest

Hi,
I have a jitsi meet running on Kubernetes. I have enabled internal authentication and it is asking for authentication while creating room also but when a user tries to join with the invite link it is asking for a username and password.
what i want to achive is the user should be able to join the room without authentication once room is created.

@damencho @congthang can you please help?

Your cfg.lua file is likely configured incorrectly. Can you share the file?

hi @Freddie this is my jitsi-meet.cfg.lua in conf.d of prosody container.

admins = {
“focus@auth.meet.jitsi”,
“jvb@auth.meet.jitsi”
}

plugin_paths = { “/prosody-plugins/”, “/prosody-plugins-custom” }
http_default_host = “meet.jitsi”

consider_bosh_secure = true;

– Deprecated in 0.12
mod_websocket: Drop CORS code in favor of that in mod_http · bjc/prosody@2654281 · GitHub

cross_domain_websocket = { “https://localhost:8443” }

cross_domain_bosh = { “https://localhost:8443” }

VirtualHost “meet.jitsi”

authentication = "internal_hashed"


ssl = {
    key = "/config/certs/meet.jitsi.key";
    certificate = "/config/certs/meet.jitsi.crt";
}
modules_enabled = {
    "bosh";

    "websocket";
    "smacks"; -- XEP-0198: Stream Management

    "pubsub";
    "ping";
    "speakerstats";
    "conference_duration";



}

speakerstats_component = “speakerstats.meet.jitsi”
conference_duration_component = “conferenceduration.meet.jitsi”

c2s_require_encryption = false

VirtualHost “guest.meet.jitsi”
https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339

authentication = "token"

app_id = ""
app_secret = ""
allow_empty_token = true

c2s_require_encryption = false

VirtualHost “auth.meet.jitsi”
ssl = {
key = “/config/certs/auth.meet.jitsi.key”;
certificate = “/config/certs/auth.meet.jitsi.crt”;
}
authentication = “internal_hashed”

Component “internal-muc.meet.jitsi” “muc”
storage = “memory”
modules_enabled = {
“ping”;

}
muc_room_locking = false
muc_room_default_public_jids = true

Component “muc.meet.jitsi” “muc”

storage = “memory”
modules_enabled = {
“muc_meeting_id”;

}
muc_room_cache_size = 1000
muc_room_locking = false
muc_room_default_public_jids = true

Component “focus.meet.jitsi”
component_secret = “c645acacd74ed38364d4a5a0d8a86333”

Component “speakerstats.meet.jitsi” “speakerstats_component”
muc_component = “muc.meet.jitsi”

Component “conferenceduration.meet.jitsi” “conference_duration_component”
muc_component = “muc.meet.jitsi”

What version of Jitsi are you running?

every image is latest from docker hub.
jitsi/jicofo:latest

jitsi/prosody:latest

Oh docker…

Hmm…mm… try deleting this line c2s_require_encryption = false from this block:

Also, I could be missing this because I’m half-asleep, but what about the additional VirtualHost block?

you mean this guest virtualhost

VirtualHost “guest.meet.jitsi”
https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339

authentication = "token"

app_id = ""
app_secret = ""
allow_empty_token = true

c2s_require_encryption = false

No, this one - Secure Domain setup · Jitsi Meet Handbook

admins = {
“focus@auth.meet.jitsi”,
“jvb@auth.meet.jitsi”
}

plugin_paths = { “/prosody-plugins/”, “/prosody-plugins-custom” }
http_default_host = “meet.jitsi”

consider_bosh_secure = true;

– Deprecated in 0.12
mod_websocket: Drop CORS code in favor of that in mod_http · bjc/prosody@2654281 · GitHub

cross_domain_websocket = { “https://localhost:8443” }
cross_domain_bosh = { “https://localhost:8443” }

VirtualHost “meet.jitsi”

authentication = "internal_hashed"


ssl = {
    key = "/config/certs/meet.jitsi.key";
    certificate = "/config/certs/meet.jitsi.crt";
}
modules_enabled = {
    "bosh";
    
    "websocket";
    "smacks"; -- XEP-0198: Stream Management
    
    "pubsub";
    "ping";
    "speakerstats";
    "conference_duration";
    
    
    
}



speakerstats_component = "speakerstats.meet.jitsi"
conference_duration_component = "conferenceduration.meet.jitsi"

c2s_require_encryption = false

VirtualHost “guest.meet.jitsi”
https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339

authentication = "anonymous"

app_id = ""
app_secret = ""
allow_empty_anonymous = true

c2s_require_encryption = false

VirtualHost “auth.meet.jitsi”
ssl = {
key = “/config/certs/auth.meet.jitsi.key”;
certificate = “/config/certs/auth.meet.jitsi.crt”;
}
authentication = “internal_hashed”

Component “internal-muc.meet.jitsi” “muc”
storage = “memory”
modules_enabled = {
“ping”;

}
muc_room_locking = false
muc_room_default_public_jids = true

Component “muc.meet.jitsi” “muc”
storage = “memory”
modules_enabled = {
“muc_meeting_id”;

}
muc_room_cache_size = 1000
muc_room_locking = false
muc_room_default_public_jids = true

Component “focus.meet.jitsi”
component_secret = “c645acacd74ed38364d4a5a0d8a86333”

Component “speakerstats.meet.jitsi” “speakerstats_component”
muc_component = “muc.meet.jitsi”

Component “conferenceduration.meet.jitsi” “conference_duration_component”
muc_component = “muc.meet.jitsi”

jitsi-meet.cfg.txt (2.2 KB)

i have this file conf.d of prosody.