diff --git a/public/app-config.json b/public/app-config.json
index 0967ef424..21c0c4543 100644
--- a/public/app-config.json
+++ b/public/app-config.json
@@ -1 +1,6 @@
-{}
+{
+ "LOGIN_TEXT": "Sign in",
+ "LOGIN_ICON": "mdi-microsoft-windows",
+ "APPLICATION_NAME": "Delft-FEWS Web Operator Client",
+ "COMPANY_NAME": "Deltares"
+}
diff --git a/src/services/application-config/ApplicationConfig.ts b/src/services/application-config/ApplicationConfig.ts
index c6ff2023d..87cc51be6 100644
--- a/src/services/application-config/ApplicationConfig.ts
+++ b/src/services/application-config/ApplicationConfig.ts
@@ -11,4 +11,8 @@ export type ApplicationConfig = {
VITE_AUTH_ID: string
VITE_REQUEST_HEADER_AUTHORIZATION: RequestHeaderAuthorization
VITE_FEWS_WEBSERVICES_URL: string
+ LOGIN_TEXT: string
+ LOGIN_ICON: string
+ APPLICATION_NAME: string
+ COMPANY_NAME: string
}
diff --git a/src/views/auth/DeltaresLogin.vue b/src/views/auth/DeltaresLogin.vue
index d49afd0b0..5c11b37fd 100644
--- a/src/views/auth/DeltaresLogin.vue
+++ b/src/views/auth/DeltaresLogin.vue
@@ -1,6 +1,7 @@
- mdi-microsoft-windowsSign in
+ {{ loginIcon }}{{ loginText }}
@@ -8,10 +9,15 @@
import { useRoute } from 'vue-router'
import { authenticationManager } from '../../services/authentication/AuthenticationManager.js'
+import { configManager } from '@/services/application-config'
+
const route = useRoute()
function login(): void {
const redirect = route.query.redirect ?? '/'
authenticationManager.userManager.signinRedirect({ state: redirect })
}
+
+const loginText = configManager.get('LOGIN_TEXT') ?? 'Sign in'
+const loginIcon = configManager.get('LOGIN_ICON') ?? 'mdi-microsoft-windows'
diff --git a/src/views/auth/LoginView.vue b/src/views/auth/LoginView.vue
index b66b2cac4..08144c1c5 100644
--- a/src/views/auth/LoginView.vue
+++ b/src/views/auth/LoginView.vue
@@ -2,9 +2,9 @@
- Delft-FEWS Web Operator Client
+ {{ appName }}
-
+
@@ -12,6 +12,12 @@