diff --git a/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl b/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl index 5bdd04ba75..093c859ed5 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl @@ -10,92 +10,93 @@
  • - <#if p.iconClasses?has_content> - <#switch p.alias> - <#case "google"> - - <#break> - <#case "github"> - - <#break> - <#case "facebook"> - - <#break> - <#case "gitlab"> - - <#break> - <#case "linkedin"> - <#case "linkedin-openid-connect"> - - <#break> - <#case "openshift-v3"> - <#case "openshift-v4"> - - <#break> - <#case "stackoverflow"> - - <#break> - <#case "twitter"> - - <#break> - <#case "microsoft"> - - <#break> - <#case "bitbucket"> - - <#break> - <#case "instagram"> - - <#break> - <#case "paypal"> - - <#break> - <#default> - - - <#else> - ${p.displayName!} - + <#if p.iconClasses?has_content> + ${p.displayName!} + <#else> + <#switch p.alias> + <#case "google"> + + <#break> + <#case "github"> + + <#break> + <#case "facebook"> + + <#break> + <#case "gitlab"> + + <#break> + <#case "linkedin"> + <#case "linkedin-openid-connect"> + + <#break> + <#case "openshift-v3"> + <#case "openshift-v4"> + + <#break> + <#case "stackoverflow"> + + <#break> + <#case "twitter"> + + <#break> + <#case "microsoft"> + + <#break> + <#case "bitbucket"> + + <#break> + <#case "instagram"> + + <#break> + <#case "paypal"> + + <#break> + <#default> + + +
  • diff --git a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties index a6fd6ab737..fd9ef2848f 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties +++ b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties @@ -95,4 +95,17 @@ kcLoginOTPListSelectedClass=pf-m-selected kcDarkModeClass=pf-v5-theme-dark -kcHtmlClass=login-pf \ No newline at end of file +kcHtmlClass=login-pf +kcLogoIdP-facebook= +kcLogoIdP-google= +kcLogoIdP-github= +kcLogoIdP-linkedin= +kcLogoIdP-instagram= +kcLogoIdP-microsoft= +kcLogoIdP-bitbucket= +kcLogoIdP-gitlab= +kcLogoIdP-paypal= +kcLogoIdP-stackoverflow= +kcLogoIdP-twitter= +kcLogoIdP-openshift-v4= +kcLogoIdP-openshift-v3= \ No newline at end of file