Login Keycloak solo per utenti autorizzati

This commit is contained in:
theitaliandeveloper
2025-11-14 11:44:52 +01:00
parent cf4cb2679b
commit 9c2ea5b8ff
3 changed files with 41 additions and 4 deletions

View File

@@ -43,5 +43,8 @@ if (AUTH_TYPE === 'keycloak') {
if (!defined('KEYCLOAK_CLIENT_SECRET')) {
define('KEYCLOAK_CLIENT_SECRET',''); // Client Secret per Keycloak (ad esempio abcdefghijklm)
}
if (!defined('KEYCLOAK_ALLOWED_USERS')) {
define('KEYCLOAK_ALLOWED_USERS',[]); // Contiene i nomi utente degli utenti autorizzati ad accedere all'amministrazione
}
}
?>