Add Oauth Server as variables (#2224)

This commit is contained in:
Víctor Romero
2024-12-19 15:28:22 -06:00
committed by GitHub
parent bf1d99f494
commit a21bd622e7
8 changed files with 97 additions and 22 deletions
+9
View File
@@ -35,4 +35,13 @@
// Time in milliseconds for Session idle timeout, default 300000 seconds
window['env']['sessionIdleTimeout'] = '0';
// OAuth Server Enabled
window['env']['oauthServerEnabled'] = '';
// OAuth Server URL
window['env']['oauthServerUrl'] = '';
// OAuth Client Id
window['env']['oauthAppId'] = '';
})(this);
+11 -1
View File
@@ -15,7 +15,7 @@
window['env']['defaultLanguage'] = '$MIFOS_DEFAULT_LANGUAGE';
window['env']['supportedLanguages'] = '$MIFOS_SUPPORTED_LANGUAGES';
window['env']['preloadClients'] = '$MIFOS_PRELOAD_CLIENTS';
window['env']['preloadClients'] = $MIFOS_PRELOAD_CLIENTS;
// Char delimiter to Export CSV options: ',' ';' '|' ' '
window['env']['defaultCharDelimiter'] = '$MIFOS_DEFAULT_CHAR_DELIMITER';
@@ -34,4 +34,14 @@
// Time in milliseconds for Session idle timeout, default 300000 seconds
window['env']['sessionIdleTimeout'] = '$MIFOS_SESSION_IDLE_TIMEOUT';
// OAuth Server Enabled
window['env']['oauthServerEnabled'] = $MIFOS_OAUTH_SERVER_ENABLED;
// OAuth Server URL
window['env']['oauthServerUrl'] = '$MIFOS_OAUTH_SERVER_URL';
// OAuth Client Id
window['env']['oauthAppId'] = '$MIFOS_OAUTH_CLIENT_ID';
})(this);