"Enable Feature by JWT" plugin is active on the server:-not working #530
Replies: 24 comments
-
what is appid and app secret ?? do we need to add this for jwt token generation??? is it from server side or keycloak id and secret? pls explain if i need to enable jwt for my server then what are requirements??? |
Beta Was this translation helpful? Give feedback.
-
Yes you need to set App Id and App Secret. This generates the JWT for the jitsi server. You have to follow these instructions. |
Beta Was this translation helpful? Give feedback.
-
Can i use keycloak client id and secret instead of app id and app secret? |
Beta Was this translation helpful? Give feedback.
-
no because the keycloak is for the authentication of the user and the JWT is for the jitsi server. but you can leave it blank and remove the check on Enable Feature by JWT then JWT is deactivated |
Beta Was this translation helpful? Give feedback.
-
i want to activate jwt for my server |
Beta Was this translation helpful? Give feedback.
-
Then you have to install the jwt plugin in the jitsi server. You will get the app if and app secret after installing the plugin. |
Beta Was this translation helpful? Give feedback.
-
can we refined JWT payload structure,if yes how ? |
Beta Was this translation helpful? Give feedback.
-
you can only choose where the moderator claim should be located but not the whole JSON structure. why do you want to do this? |
Beta Was this translation helpful? Give feedback.
-
when i am changing payload structure everyone joins as a moderator , in this code public function generateJwtPayload($userName, Rooms $room, Server $server, $moderator, RoomsUser $roomUser = null, $avatar = null)
|
Beta Was this translation helpful? Give feedback.
-
Hello @ReshmaJaiswal It seems to me that you made a fork of the repo where you make your changes. You have to make you fork with all changes Open Source ander the AGPL license too. SO please send me a link where I can seee your changes so I can answer your question. I don't understand in you comment what you want to do. |
Beta Was this translation helpful? Give feedback.
-
i want to just ask that in my jwtpayload we have parameter moderator in which it goes to backend server true or false when jwt enable , but in my backend server everyone joining as moderator, y such behaivour??? and in entry link also jwt is going along with joining url when enable jwt ? |
Beta Was this translation helpful? Give feedback.
-
and what if i want to increse uid length i am changing in i am changing in roomcontroller.php but its not reflecting $roomNew->setUid(rand(01, 99) . time()); ?? i want to increse length of uid to 8 digit |
Beta Was this translation helpful? Give feedback.
-
@ReshmaJaiswal The moderator propertiy is set in the jwt claim root or user, which can be selected in the server settings in the GUI. If the moderator token is not correctly used from you jitsi server, then I would highly suggest to double check your jitsi server, because there must be the error. IN all our installations it is working so it must be your jitsi server which ist not correctly reading the JWT. For the other question the uid is coupled to the unix time. |
Beta Was this translation helpful? Give feedback.
-
propertiy is set in the jwt claim root or user ? whats the difference between both??? root claim and user claim?? |
Beta Was this translation helpful? Give feedback.
-
is token appended to entry link also ?? what if i want entry link without token? |
Beta Was this translation helpful? Give feedback.
-
then leave app id and app secret empty |
Beta Was this translation helpful? Give feedback.
-
in the server setting in the GUI, where you set up the server url and server name |
Beta Was this translation helpful? Give feedback.
-
then f i leave app id and app secret empty then for other url jwt will work?? |
Beta Was this translation helpful? Give feedback.
-
i observe the unexpected behaivour when i enable jwt then everyone joing as a participant and via entry link all became moderator ,means everyone receives token?what if i remove app id and secret what will be result? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
i want to enable but tell me is token appended to entry link also ?? what if i want entry link without token? |
Beta Was this translation helpful? Give feedback.
-
https://github.com/nvonahsen/jitsi-token-moderation-plugin is it important to add moderator parameter in token and payload server side ? to gets jwt functionality for admin ? as i dont have any parameter server side related to moderator so everyone is becoming moderator when enabling jwt |
Beta Was this translation helpful? Give feedback.
-
Hello @ReshmaJaiswal, You just have to follow the moderator plugin installation instruction and then it is working as expected. This is not an technical issue but an support issue. PLease write me for this an email to [email protected] |
Beta Was this translation helpful? Give feedback.
-
after checking this and on server side when i am joing meet , it doesnt ask for token nor it sends jwt token via url ,its working normal only with or without checking checkbox.Is there any other way to enable it so that token is generated ???/
Beta Was this translation helpful? Give feedback.
All reactions