From 11aa6440fab364d9237a0007faa7b7f255879191 Mon Sep 17 00:00:00 2001 From: Alex Ackermann Date: Wed, 14 May 2025 09:42:41 +0200 Subject: [PATCH] chore: add idp login text setting to full deployment example --- deployments/examples/opencloud_full/.env | 5 +++++ deployments/examples/opencloud_full/opencloud.yml | 2 ++ services/idp/src/containers/Login/Login.jsx | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/deployments/examples/opencloud_full/.env b/deployments/examples/opencloud_full/.env index eb0518fff9..7c6ebd0372 100644 --- a/deployments/examples/opencloud_full/.env +++ b/deployments/examples/opencloud_full/.env @@ -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. diff --git a/deployments/examples/opencloud_full/opencloud.yml b/deployments/examples/opencloud_full/opencloud.yml index 7cda9cc560..afe703140d 100644 --- a/deployments/examples/opencloud_full/opencloud.yml +++ b/deployments/examples/opencloud_full/opencloud.yml @@ -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}" diff --git a/services/idp/src/containers/Login/Login.jsx b/services/idp/src/containers/Login/Login.jsx index da65cf0d95..f0e5168272 100644 --- a/services/idp/src/containers/Login/Login.jsx +++ b/services/idp/src/containers/Login/Login.jsx @@ -46,6 +46,9 @@ const styles = (theme) => ({ marginTop: 5, marginBottom: 5, }, + signinPageText: { + marginBottom: 12 + } }); function Login(props) { @@ -128,6 +131,7 @@ function Login(props) { {branding?.signinPageText && (