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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user