From b370973b409e67ade66612e7ad3f72b4ce624811 Mon Sep 17 00:00:00 2001 From: damencho Date: Mon, 13 Jan 2025 13:57:37 -0600 Subject: [PATCH] fix: Adds support for passing jwt as has param. --- app/features/conference/components/Conference.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/features/conference/components/Conference.js b/app/features/conference/components/Conference.js index 4a16474fb..3c82e4f38 100644 --- a/app/features/conference/components/Conference.js +++ b/app/features/conference/components/Conference.js @@ -226,18 +226,22 @@ class Conference extends Component { const interfaceConfigOverwrite = { SHOW_CHROME_EXTENSION_BANNER: false }; + let jwt; Object.entries(hashParameters).forEach(([ key, value ]) => { if (key.startsWith('config.')) { const configKey = key.substring('config.'.length); configOverwrite[configKey] = value; + } else if (key === 'jwt') { + jwt = value; } }); const options = { configOverwrite, interfaceConfigOverwrite, + jwt, parentNode: this._ref.current, roomName, sandbox: 'allow-scripts allow-same-origin allow-popups allow-forms allow-downloads'