-
Notifications
You must be signed in to change notification settings - Fork 3
Enable welcome page
rleon edited this page Feb 18, 2020
·
1 revision
When you access to the web, automatically the login engine is triggered. To enable a default welcome page instead of direct login, add this parameter to your application.json : "enableWelcomePage": true
{
"server": {
"security": {
"enable": true,
"npmModule": {
"name": "basic-security-client"
},
"configModule": {
"user": "${AUTH_USER}",
"password": "${AUTH_PASSWORD}"
}
},
"enableWelcomePage": true,
"headerResponseNamePrefix": "ACME-ORG"
},
"frontend": {
"someToken": "${SOME_TOKEN_FROM_MY_BACKEND}",
"employeeApi": {
"baseUrl": "https://employee-api.acme.com"
},
"cdn": {
"baseUrl": "https://cdn.acme.com"
},
"welcomeMessage": "Welcome to acme web",
"backgroundColor": "#4884157",
"etc":"etc"
}
}
Restart application and a welcome page will be showed instead the automatic login.
Welcome Html page is taken from pages/common/welcome.html