Merge pull request #843 from opencloud-eu/add-login-text-to-full-example-deployment

chore: add idp login text setting to full deployment example
This commit is contained in:
Benedikt Kulmann
2025-05-14 15:40:40 +02:00
committed by GitHub
3 changed files with 11 additions and 0 deletions

View File

@@ -260,6 +260,11 @@ LDAP_ADMIN_PASSWORD=
# LDAP manager domain. Defaults to "ldap.opencloud.test"
LDAP_MANAGER_DOMAIN=
### LibreGraph Connect (lico) IDP ###
# LibreGraph Connect (lico) implements an OpenID provider (OP) with integrated web login and consent forms.
# Text hint that appears within the username input field on the sign-in page
IDP_DEFAULT_SIGNIN_PAGE_TEXT=
### Keycloak Settings ###
# Keycloak is an open-source identity and access management solution.
# We are using Keycloak as the default identity provider on production installations.

View File

@@ -36,6 +36,8 @@ services:
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
# idp login form settings
IDP_DEFAULT_SIGNIN_PAGE_TEXT: "${IDP_DEFAULT_SIGNIN_PAGE_TEXT}"
# email server (if configured)
NOTIFICATIONS_SMTP_HOST: "${SMTP_HOST}"
NOTIFICATIONS_SMTP_PORT: "${SMTP_PORT}"

View File

@@ -46,6 +46,9 @@ const styles = (theme) => ({
marginTop: 5,
marginBottom: 5,
},
signinPageText: {
marginBottom: 12
}
});
function Login(props) {
@@ -128,6 +131,7 @@ function Login(props) {
</h1>
{branding?.signinPageText && (
<Typography
className={classes.signinPageText}
variant="body2"
dangerouslySetInnerHTML={{ __html: branding.signinPageText }}
/>