nvonahsen / jitsi-token-moderation-plugin

Lua plugin for jitsi which determines whether users are moderator or not based on token contents
MIT License
167 stars 96 forks source link

Unable to see anything working #9

Closed eNirantar closed 4 years ago

eNirantar commented 4 years ago

I have tried the same , i did not able to see any logs , it is not working not even error i am getting.

eNirantar commented 4 years ago

I have tried the same , i did not able to see any logs , it is not working not even error i am getting.

image

what if we do not pass jwt. it does not create moderator but it should log something in console correct

bryanasdev000 commented 4 years ago

Hi @eNirantar !

The code itself doesnt log if you dont have a JWT token, the responsible for that is https://github.com/jitsi/jitsi-meet/blob/master/resources/prosody-plugins/mod_token_verification.lua which handles the JWT. This plugin only handle the moderator field of the JWT to do its magic.