testRealms) {
testRealms.add(loadFromClasspath("kc3731-broker-realm.json", p));
}
+ private void updateExecutions(BiConsumer< AuthenticationExecutionInfoRepresentation, AuthenticationManagementResource > action) {
+ AuthenticationManagementResource flows = adminClient.realm(REALM_PROV_NAME).flows();
+
+ for (AuthenticationExecutionInfoRepresentation execution : flows.getExecutions(DefaultAuthenticationFlows.FIRST_BROKER_LOGIN_FLOW)) {
+ action.accept(execution, flows);
+ }
+ }
+
@Test
public void testProviderIdpInitiatedLogin() throws Exception {
driver.navigate().to(getSamlIdpInitiatedUrl(REALM_PROV_NAME, "samlbroker"));
@@ -291,6 +305,7 @@ public void testConsumerIdpInitiatedLoginToApp() throws Exception {
@Test
public void testTwoConsequentIdpInitiatedLogins() throws Exception {
+
SAMLDocumentHolder samlResponse = new SamlClientBuilder()
.navigateTo(getSamlIdpInitiatedUrl(REALM_PROV_NAME, "samlbroker"))
// Login in provider realm
diff --git a/themes/src/main/resources/theme/base/login/login-update-profile.ftl b/themes/src/main/resources/theme/base/login/login-update-profile.ftl
index e5ceddf9c774..c97d34a84178 100755
--- a/themes/src/main/resources/theme/base/login/login-update-profile.ftl
+++ b/themes/src/main/resources/theme/base/login/login-update-profile.ftl
@@ -12,7 +12,7 @@
readonly#if>
+ class="${properties.kcInputClass!}" <#if isUpdateProfile?has_content && !isUpdateProfile>disabled#if>
aria-invalid="<#if messagesPerField.existsError('username')>true#if>"
/>
@@ -31,7 +31,7 @@
readonly#if>
+ class="${properties.kcInputClass!}" <#if isUpdateProfile?has_content && !isUpdateProfile>disabled#if>
aria-invalid="<#if messagesPerField.existsError('email')>true#if>"
/>
@@ -50,7 +50,7 @@
readonly#if>
+ class="${properties.kcInputClass!}" <#if isUpdateProfile?has_content && !isUpdateProfile>disabled#if>
aria-invalid="<#if messagesPerField.existsError('firstName')>true#if>"
/>
@@ -68,7 +68,7 @@