Tags: element-hq/lk-jwt-service
Tags
Restrict access to LiveKit SFU by differentiating full-access and res… …tricted Matrix users for room creation (#67) * add new ENV variable LIVEKIT_FULL_ACCESS_HOMESERVERS to allow different handling between full-access and restricted users * full-access / restricted user detection * Create LiveKit room on the SFU in case of a full-acceess user prior to issuing the JWT token * Support full-access for all users via wildcard `*`for all homeservers * make the wildcard '*' the default of LIVEKIT_FULL_ACCESS_HOMESERVERS to mimic the previous behaviour * more idomatic variable nameing * More ideomatic order for of functions in main.go
Add LIVEKIT_KEY_FILE, rename env vars to _FROM_FILE and trim keys&sec… …rets (#93) * Add LIVEKIT_KEY_SECRET_FILE and trim keys&secrets * Rename env vars for consistency with livekit * Add LIVEKIT_KEY_FILE variable in README * comment readKeySecret logic * reformat var names