Using website JWT for Jitsi

Im using jitsi in my app and currently I have to send username and pass to init a chat for the user. I also import the name this way as well. I’d like to be able to send my own Token for Jitsi to decode against my api so I can get details on the user and their permissions beforehand.
Is this possible? What would I have to customize to alter token handling.
*Please include a link to the repo.