Hi everyone,
We are building our Jitsi meet custom client using lib-jitsi-meet.
We integrated prosody enabling JWT token authentication to do some custom stuff in the client.
We are also setting Jibri up to enable the recording.
The Prosody plugin module “mod_presence_identity” should pass both “group” and “user” information from the jwt token but instead, in the “metadata.json” file created by Jibri we find only “avatar, name, and id” inside the “user” field.
The same thing applies to the data received by the “conference” in the client.
For example, from this token:
{
"context": {
"user": {
"avatar": "https:/gravatar.com/avatar/abc123",
"name": "Pinco Pallino",
"email": "jdoe@example.com",
"id": "abcd:a1b2c3-d4e5f6-0abc1-23de-abcdef01fedcba"
},
"isHidden": true,
"group": "a123-123-456-789"
},
"aud": "jitsi",
"iss": "my_client",
"sub": "meet-test.test.it",
"room": "*"
}
we receive only:
group: {
"a123-123-456-789"
}
user: {
avatar: "https:/gravatar.com/avatar/abc123"
id: "abcd:a1b2c3-d4e5f6-0abc1-23de-abcdef01fedcba"
name: "Pinco Pallino"
}
Is this a problem with prosody or is it considered normal behavior?
If this is normal behavior, how can we customize prosody to send custom data regarding the user?
Thanks in advance!