> entry : valueMap.entrySet()) {
+ formData.addAll(entry.getKey(), entry.getValue());
+ }
+
+ return Utils.formDataUtil(formData);
}
@Override
diff --git a/src/realm.json b/src/realm.json
index e2483d0b..a00ed22f 100644
--- a/src/realm.json
+++ b/src/realm.json
@@ -1504,10 +1504,14 @@
],
"org.keycloak.userprofile.UserProfileProvider": [
{
- "id": "3c5c068c-c9a5-4d68-8373-b30ae5e54c9c",
- "providerId": "declarative-user-profile",
- "subComponents": {},
- "config": {}
+ "id": "3c5c068c-c9a5-4d68-8373-b30ae5e54c9c",
+ "providerId": "declarative-user-profile",
+ "subComponents": {},
+ "config": {
+ "kc.user.profile.config": [
+ "{\"attributes\":[{\"name\":\"username\",\"displayName\":\"${username}\",\"validations\":{\"length\":{\"min\":3,\"max\":255},\"username-prohibited-characters\":{},\"up-username-not-idn-homograph\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"email\",\"displayName\":\"${email}\",\"validations\":{\"email\":{},\"length\":{\"max\":255}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"firstName\",\"displayName\":\"${firstName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"lastName\",\"displayName\":\"${lastName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false}],\"groups\":[{\"name\":\"user-metadata\",\"displayHeader\":\"User metadata\",\"displayDescription\":\"Attributes, which refer to user metadata\"}],\"unmanagedAttributePolicy\":\"ENABLED\"}"
+ ]
+ }
}
],
"org.keycloak.keys.KeyProvider": [
diff --git a/src/sync.sh b/src/sync.sh
index 05352cc1..a920edb3 100644
--- a/src/sync.sh
+++ b/src/sync.sh
@@ -6,12 +6,13 @@ echo "Syncing customizations to Keycloak"
# Ensure the import directory exists
mkdir -p /opt/keycloak/data/import/
mkdir -p /opt/keycloak/conf/
+mkdir -p /opt/keycloak/conf/truststores
mkdir -p /opt/keycloak/themes/theme/
# Copy the files to their respective directories
cp -fvu realm.json /opt/keycloak/data/import/realm.json
cp -fvur theme/* /opt/keycloak/themes/theme/
cp -fvu *.jar /opt/keycloak/providers/
-cp -fvu truststore.jks /opt/keycloak/conf/truststore.jks
+cp -fvu certs/* /opt/keycloak/conf/truststores
echo "Sync complete"
diff --git a/src/test/cypress/realm.json b/src/test/cypress/realm.json
index b4006ce1..c43f8a2c 100644
--- a/src/test/cypress/realm.json
+++ b/src/test/cypress/realm.json
@@ -1522,10 +1522,14 @@
],
"org.keycloak.userprofile.UserProfileProvider": [
{
- "id": "3c5c068c-c9a5-4d68-8373-b30ae5e54c9c",
- "providerId": "declarative-user-profile",
- "subComponents": {},
- "config": {}
+ "id": "3c5c068c-c9a5-4d68-8373-b30ae5e54c9c",
+ "providerId": "declarative-user-profile",
+ "subComponents": {},
+ "config": {
+ "kc.user.profile.config": [
+ "{\"attributes\":[{\"name\":\"username\",\"displayName\":\"${username}\",\"validations\":{\"length\":{\"min\":3,\"max\":255},\"username-prohibited-characters\":{},\"up-username-not-idn-homograph\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"email\",\"displayName\":\"${email}\",\"validations\":{\"email\":{},\"length\":{\"max\":255}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"firstName\",\"displayName\":\"${firstName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"lastName\",\"displayName\":\"${lastName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false}],\"groups\":[{\"name\":\"user-metadata\",\"displayHeader\":\"User metadata\",\"displayDescription\":\"Attributes, which refer to user metadata\"}],\"unmanagedAttributePolicy\":\"ENABLED\"}"
+ ]
+ }
}
],
"org.keycloak.keys.KeyProvider": [
diff --git a/src/theme/login/login.ftl b/src/theme/login/login.ftl
index dcca6560..2085fd68 100644
--- a/src/theme/login/login.ftl
+++ b/src/theme/login/login.ftl
@@ -33,16 +33,38 @@
value="${auth.selectedCredential}"
- #if>/>
-
+ #if>/>
+
+
+
+ #if>
+ <#if realm.password && social.providers??>
+
+
+
${msg("identity-provider-login-label")}
+
+
+
+
+ #if>
+
-
- #if>
-
#if>
@layout.registrationLayout>