[mirotalksfu] - improve OIDC
هذا الالتزام موجود في:
@@ -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
مولّد
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
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم