From 6d820c8e97d86e97edc6aeef3d282783479911f0 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Mon, 2 Jun 2025 00:57:30 +0200 Subject: [PATCH] [mirotalksfu] - fix typo --- .env.template | 6 +++--- app/src/config.template.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.template b/.env.template index c106da7c..d14fa112 100644 --- a/.env.template +++ b/.env.template @@ -92,9 +92,9 @@ 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_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) +OIDC_FORCE_USERNAME=true # Force the username to match OIDC email or name (true|false) +OIDC_EMAIL_AS_USERNAME=true # Set username as email from OIDC (true|false) +OIDC_NAME_AS_USERNAME=false # Set username as name from OIDC (true|false) # Host protection HOST_PROTECTED=false # Enable host protection (true|false) diff --git a/app/src/config.template.js b/app/src/config.template.js index 87b81461..1858ca9a 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -328,9 +328,9 @@ module.exports = { // User identity requirements peer_name: { - force: process.env.OIDC_USERNAME_FORCE !== 'false', // Require identity provider authentication - email: process.env.OIDC_USERNAME_AS_EMAIL !== 'false', // Request email claim - name: process.env.OIDC_USERNAME_AS_NAME === 'true', // Don't require full 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 }, // Provider configuration