We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8534328 commit 0410a6bCopy full SHA for 0410a6b
src/vector/jitsi/index.ts
@@ -167,8 +167,10 @@ function createJWTToken() {
167
const header = {alg: 'HS256', typ: 'JWT'};
168
// Payload
169
const payload = {
170
- // TODO change this to refer to spec?
171
- iss: 'app_id',
+ // As per Jitsi token auth, `iss` needs to be set to something agreed between
+ // JWT generating side and Prosody config. Since we have no configuration for
172
+ // the widgets, we can't set one anywhere. Using the Jitsi domain here probably makes sense.
173
+ iss: jitsiDomain,
174
sub: jitsiDomain,
175
aud: `https://${jitsiDomain}`,
176
room: "*",
0 commit comments