We think it might work now... Gemini thinks the aud may have been set incorrectly. Not matching the actual Jitsi server.

This commit is contained in:
Scott Idem
2025-12-03 15:38:14 -05:00
parent c5d25b5717
commit 36ae9c5035

View File

@@ -266,7 +266,7 @@ async def create_jitsi_jwt(
# This is where we securely set the moderator and user info.
# Even though 'user' is included we are currently ignoring it to prevent client overrides. It is rebuilt below from the main fields.
payload = {
"aud": "jitsi",
"aud": "my_jitsi_app_id",
"iss": JWT_APP_ID,
"sub": JITSI_DOMAIN, # Your Jitsi base domain
"room": request_data.room,
@@ -278,6 +278,7 @@ async def create_jitsi_jwt(
# 2. 'context' for user data, features, and moderator settings
"context": {
"user": {
"id": request_data.user.id,
"name": request_data.name,
"email": request_data.email,
# CRITICAL: 'moderator' must be a boolean, not a string