[mirotalksfu] - fix OIDC dynamic config, update dep
هذا الالتزام موجود في:
@@ -58,7 +58,7 @@ dev dependencies: {
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.67
|
||||
* @version 1.7.68
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -435,11 +435,17 @@ function startServer() {
|
||||
if (OIDC.enabled) {
|
||||
const getDynamicConfig = (host, protocol) => {
|
||||
const baseURL = `${protocol}://${host}`;
|
||||
log.debug('OIDC baseURL', baseURL);
|
||||
return {
|
||||
|
||||
const config = OIDC.baseUrlDynamic
|
||||
? {
|
||||
...OIDC.config,
|
||||
baseURL,
|
||||
};
|
||||
}
|
||||
: OIDC.config;
|
||||
|
||||
log.debug('OIDC baseURL', config.baseURL);
|
||||
|
||||
return config;
|
||||
};
|
||||
|
||||
// Apply the authentication middleware using dynamic baseURL configuration
|
||||
|
||||
@@ -195,6 +195,7 @@ module.exports = {
|
||||
For those seeking an open-source solution, check out: https://github.com/panva/node-oidc-provider
|
||||
*/
|
||||
enabled: false,
|
||||
baseURLDynamic: false,
|
||||
peer_name: {
|
||||
force: true, // Enforce using profile data for peer_name
|
||||
email: true, // Use email as peer_name
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalksfu",
|
||||
"version": "1.7.67",
|
||||
"version": "1.7.68",
|
||||
"description": "WebRTC SFU browser-based video calls",
|
||||
"main": "Server.js",
|
||||
"scripts": {
|
||||
@@ -58,7 +58,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mattermost/client": "10.2.0",
|
||||
"@sentry/node": "^9.3.0",
|
||||
"@sentry/node": "^9.4.0",
|
||||
"axios": "^1.8.1",
|
||||
"colors": "1.4.0",
|
||||
"compression": "1.8.0",
|
||||
@@ -79,7 +79,7 @@
|
||||
"mediasoup-client": "3.9.1",
|
||||
"ngrok": "^5.0.0-beta.2",
|
||||
"nodemailer": "^6.10.0",
|
||||
"openai": "^4.86.1",
|
||||
"openai": "^4.86.2",
|
||||
"qs": "6.14.0",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"socket.io": "4.8.1",
|
||||
|
||||
@@ -64,7 +64,7 @@ let BRAND = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: '<strong>WebRTC SFU v1.7.67</strong>',
|
||||
title: '<strong>WebRTC SFU v1.7.68</strong>',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.67
|
||||
* @version 1.7.68
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -5272,7 +5272,7 @@ function showAbout() {
|
||||
position: 'center',
|
||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.67',
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.68',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.67
|
||||
* @version 1.7.68
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم