Changed the expiration time from 1 hour to 2 hours.

This commit is contained in:
Scott Idem
2026-04-02 15:57:36 -04:00
parent 2a1f270db6
commit b5c50fd116

View File

@@ -194,7 +194,7 @@ async def create_jitsi_jwt(request_data: JitsiTokenRequest = Body(...)):
payload = { payload = {
"aud": JWT_APP_ID, "iss": JWT_APP_ID, "sub": JITSI_DOMAIN, "aud": JWT_APP_ID, "iss": JWT_APP_ID, "sub": JITSI_DOMAIN,
"room": request_data.room, "room": request_data.room,
"exp": int(time.time()) + 3600, "exp": int(time.time()) + 7200, # 2 hour expiry
"config": request_data.config or {}, "config": request_data.config or {},
"context": { "context": {
"user": { "user": {