How to implement JWT token in Jitsi API using Node/Express as backend service

I’m bit confused and with implementation of JWT token in jitsi.

I know I need to make changes in my server for enabling the JWT token and pass that token in jwt field in API.

Can someone help me out with precise steps to do the following:

  1. Changes in the server end.
  2. How can we generate JWT token using express ( using jwt.sign )

I have gone through many documents and examples but its just confusing me more.

Few references I came across.


System Config : Ubuntu 18. I installed jitsi using quick installation and later upgraded the prosody to 0.11. Also uploaded an custom jitsi-meet for customisation purpose.

Thank you for your time.