JWT token authentication

Hello @saghul @jallamsetty

Could you please let me know the parameter to be set for lobby feature in the JWT token payload, so that lobby could be enabled for a meeting through JWT token

{
“aud”: “jitsi”,
“iss”: “”,
“sub”: “”,
“room”: “*”,
“iat”: 1648289335,
“exp”: 1648292935,
“context”: {
“user”: {
“name”: “Santosh”,
“email”: “santosh@abc.com”,
“affiliation”: “owner”
},
“features”: {
“recording”: true,
“livestreaming”: true,
“screen-sharing”: true
}
}
}

@santos_gupta I do not believe that’s a feature option in JWT. See JWT features options - #2 by emrah

So we can’t enable lobby in the meeting through lobby parameter from JWT right?

Take a look at this list: jitsi-meet/constants.js at a582f1c191bc193e5c7e40de44fbce5a9ffbde3b · jitsi/jitsi-meet · GitHub

Jwt properties determine if a user has access and what features they have access to, but they don’t automatically trigger specific actions.

So you may be able to use jwt to determine if someone can start lobby or not, but no, you won’t be able to trigger lobby on a room just by adding properties to the token.

2 Likes

I thought I had read something about automatically starting the lobby on this forum. You could reference this as a starting point. See:

Otherwise see this post.

Hope this helps!

1 Like