Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Adds exception for preventing to send the JWT token
hristoterezovc5eebcda9860
diff --git a/modules/TokenData/TokenData.js b/modules/TokenData/TokenData.jsindex e2a85cf7f2..3a7ac29d6a 100644--- a/modules/TokenData/TokenData.js+++ b/modules/TokenData/TokenData.js@@ -67,9 +67,7 @@ class TokenData{constructor(jwt) {if(!jwt)return;- //Use jwt param as token if there is not other token set- if(!config.token)- config.token = jwt;+this.jwt = jwt;//External API settings@@ -77,6 +75,12 @@ class TokenData{enablePostis: true};this._decode();+ // Use JWT param as token if there is not other token set and if the+ // iss field is not anonymous. If you want to pass data with JWT token+ // but you don't want to pass the JWT token for verification the iss+ // field should be set to "anonymous"+ if(!config.token && this.payload && this.payload.iss !== "anonymous")+ config.token = jwt;}/**