[mirotalksfu] - update config.js OIDC

هذا الالتزام موجود في:
Miroslav Pejic
2025-06-02 12:07:39 +02:00
الأصل bf68b200fb
التزام 97898abead
6 ملفات معدلة مع 9 إضافات و9 حذوفات

عرض الملف

@@ -64,7 +64,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.8.57
* @version 1.8.58
*
*/

عرض الملف

@@ -328,9 +328,9 @@ module.exports = {
// User identity requirements
peer_name: {
force: process.env.OIDC_FORCE_USERNAME !== 'false', // Require identity provider authentication
email: process.env.OIDC_EMAIL_AS_USERNAME !== 'false', // Request email claim
name: process.env.OIDC_NAME_AS_USERNAME === 'true', // Don't require full name
force: process.env.OIDC_FORCE_USERNAME !== 'false', // Forces the username to match the OIDC email or name. If true, the user won't be able to change their name when joining a room
email: process.env.OIDC_EMAIL_AS_USERNAME !== 'false', // Uses the OIDC email as the username.
name: process.env.OIDC_NAME_AS_USERNAME === 'true', // Uses the OIDC name as the username
},
// Provider configuration