[mirotalksfu] - improve OIDC

هذا الالتزام موجود في:
Miroslav Pejic
2025-07-11 09:00:27 +02:00
الأصل 99afc2b1d5
التزام be70fd683c
7 ملفات معدلة مع 12 إضافات و12 حذوفات

عرض الملف

@@ -92,6 +92,8 @@ OIDC_BASE_URL= # OIDC base URL es https://you
OIDC_CLIENT_ID=clientID # OIDC client ID
OIDC_CLIENT_SECRET=clientSecret # OIDC client secret
OIDC_SECRET=mirotalksfu-oidc-secret # OIDC secret
OIDC_AUTH_REQUIRED=false # set to true if authentication is required for all routes
OIDC_AUTH_LOGOUT=true # Controls automatic logout from both your app and Auth0 (true|false)
OIDC_USERNAME_FORCE=true # Force the username to match OIDC email or name (true|false)
OIDC_USERNAME_AS_EMAIL=true # Set username as email from OIDC (true|false)
OIDC_USERNAME_AS_NAME=false # Set username as name from OIDC (true|false)

عرض الملف

@@ -343,8 +343,8 @@ module.exports = {
// Session configuration
secret: process.env.OIDC_SECRET || 'mirotalksfu-oidc-secret',
authRequired: false, // Whether all routes require authentication
auth0Logout: true, // Use provider's logout endpoint
authRequired: process.env.OIDC_AUTH_REQUIRED === 'true', // Whether all routes require authentication
auth0Logout: process.env.OIDC_AUTH_LOGOUT !== 'false', // Use provider's logout endpoint
// OAuth/OIDC flow parameters
authorizationParams: {

4
package-lock.json مولّد
عرض الملف

@@ -1,12 +1,12 @@
{
"name": "mirotalksfu",
"version": "1.8.90",
"version": "1.8.91",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "mirotalksfu",
"version": "1.8.90",
"version": "1.8.91",
"license": "AGPL-3.0",
"dependencies": {
"@aws-sdk/client-s3": "^3.844.0",

عرض الملف

@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.8.90",
"version": "1.8.91",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {

عرض الملف

@@ -76,7 +76,7 @@ let BRAND = {
},
about: {
imageUrl: '../images/mirotalk-logo.gif',
title: '<strong>WebRTC SFU v1.8.90</strong>',
title: '<strong>WebRTC SFU v1.8.91</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.8.90
* @version 1.8.91
*
*/
@@ -3616,9 +3616,7 @@ function handleRoomClientEvents() {
// ####################################################
function leaveRoom() {
survey && survey.enabled
? leaveFeedback()
: redirectOnLeave();
survey && survey.enabled ? leaveFeedback() : redirectOnLeave();
}
function leaveFeedback() {
@@ -5519,7 +5517,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.8.90',
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.8.91',
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.8.90
* @version 1.8.91
*
*/