From 546167f720fda8f8bcfa296651f020b4835599c1 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 2 Sep 2025 04:46:43 -0600 Subject: [PATCH] fix jibri loading --- mode/jwt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mode/jwt.sh b/mode/jwt.sh index 3124ecc..e1935eb 100644 --- a/mode/jwt.sh +++ b/mode/jwt.sh @@ -65,12 +65,12 @@ sed -i "s|--app_secret=\"example_app_secret\"|app_secret=\"$SECRET_APP\"|" "$PRO sed -i "/app_secret/a \\\\" "$PROSODY_FILE" ## Only token owners can create, open the room and become moderators: allow_empty_token = false ## other participants are redirected authentication to guest. -sed -i "/app_secret/a \ \ \ \ allow_empty_token = false" "$PROSODY_FILE" +sed -i "/app_secret/a \ \ \ \ allow_empty_token = true" "$PROSODY_FILE" sed -i "/app_secret/a \\\\" "$PROSODY_FILE" sed -i "/app_secret/a \ \ \ \ asap_accepted_issuers = { \"$APP_ID\" }" "$PROSODY_FILE" sed -i "/app_secret/a \ \ \ \ asap_accepted_audiences = { \"$APP_ID\" }" "$PROSODY_FILE" sed -i "/app_secret/a \\\\" "$PROSODY_FILE" -sed -i "s|--allow_empty_token =.*|allow_empty_token = false|" "$PROSODY_FILE" +sed -i "s|--allow_empty_token =.*|allow_empty_token = true|" "$PROSODY_FILE" sed -i 's|--"token_verification"|"token_verification"|' "$PROSODY_FILE" sed -i "/muc_lobby_rooms/a \ \ \ \ \ \ \ \ \"persistent_lobby\";" "$PROSODY_FILE" sed -i "/token_verification/a \ \ \ \ \ \ \ \ \"muc_wait_for_host\";" "$PROSODY_FILE" @@ -101,7 +101,7 @@ echo -e "SECRET_APP: $SECRET_APP\n" echo -e "You can test JWT authentication with the following token for the next 2 hours:\n" python3 tools/jitsi_token_maker_features.py \ - --app-id "$APP_ID" --secret-file - \ + --app-id "$APP_ID" --secret "$SECRET_APP" \ --domain "$DOMAIN" --room "$ROOM" \ --moderator --features-all \ --minutes 120 --nbf-offset 300 --include-iat \