Jitsi Meet is setup to use Token authentication. It is working when the room is set to “*”, but not to any specific room.
Working
Header:
{
"typ":"JWT",
"alg":"HS256"
}
Payload:
{
"context":
{
"user":
{
"avatar":"a080d4168333c9d21a98be2d05a4a27f",
"name":"someuser",
"email":"someuser@gmail.com",
"id":"1"
},
"group":"beerfarts"
},
"aud":"jitsi",
"iss":"somehost.com",
"sub":"beerfarts.somehost.com",
"room":"*",
"exp":1622042066
}
URL
https://somehost.com/beerfarts/curious?jwt=mytoken
Not Working
Header:
{
"typ":"JWT",
"alg":"HS256"
}
Payload:
{
"context":
{
"user":
{
"avatar":"a080d4168333c9d21a98be2d05a4a27f",
"name":"someuser",
"email":"someuser@gmail.com",
"id":"1"
},
"group":"beerfarts"
},
"aud":"jitsi",
"iss":"somehost.com",
"sub":"beerfarts.somehost.com",
"room":"curious",
"exp":1622046389
}
URL
https://somehost.com/beerfarts/curious?jwt=someothertoken
The error message is: token_verification error Token someothertoken not allowed to join: [beerfarts]curious@conference.somehost.com/ac0c2162
Can’t figure it out. Please help. @damencho