<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I have a similar use case which I addressed overriding the ftl file
    and selecting different template based on clientid:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    &lt;#if client?? &amp;&amp; client.clientId?contains('client_x')&gt;<br>
        &lt;#import "client_x/template.ftl" as layout&gt;<br>
    &lt;#else&gt;<br>
        &lt;#import "template.ftl" as layout&gt;<br>
    &lt;/#if&gt;<br>
    <br>
    It works pretty well with login and register template. You won't be
    able to customize per application the reset password and error
    template, though.<br>
    <br>
    My use case is that I manage a service and there are several
    resellers for this service. Each reseller has its own branded
    application and want some branding on the login and register page as
    well. <br>
    <br>
    Hope this helps.<br>
    stefano<br>
    <br>
    <div class="moz-cite-prefix">Il 08/05/2015 07:14, Stian Thorgersen
      ha scritto:<br>
    </div>
    <blockquote
      cite="mid:1846112137.15439002.1431062086005.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">When a user logs in the user logs in to the realm, not the application. So it doesn't make sense to have different login pages per application.

----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">From: "Marcio Lima" <a class="moz-txt-link-rfc2396E" href="mailto:marcioferlan@gmail.com">&lt;marcioferlan@gmail.com&gt;</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
Sent: Thursday, 7 May, 2015 11:30:46 PM
Subject: [keycloak-dev] Themes per application

Hello guys!

I'm trying to implement Keycloak in my solution, but it turns out that I
need to have a completely different login page per application in the
same Realm. Keycloak allows me to create themes, but only at Realm
level, not at Application level.

How would you guys suggest me approaching this? Any plans to develop
such a feature or ways to work around it?

Thanks in advance!
--

Atenciosamente,

Marcio Fernandes de Lima
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/marcioferlan">http://linkedin.com/in/marcioferlan</a>
SCJP, SCWCD, MySQL Core Certified

_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a>

</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
        -webkit-line-break: after-white-space;" class="">
        <div style="font-weight: normal; font-style: normal; color:
          rgb(0, 0, 0); font-variant: normal; letter-spacing: normal;
          line-height: normal; orphans: 2; text-align: -webkit-auto;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          margin: 0cm 0cm 0.0001pt;" class=""><font class=""
            face="Helvetica Neue" color="#336833"><strong class="">Stefano
              Travelli</strong><o:p class=""></o:p></font></div>
        <span class="Apple-style-span" style="font-weight: normal;
          font-style: normal; color: rgb(0, 0, 0); font-variant: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-align: -webkit-auto; text-indent: 0px; text-transform:
          none; white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; border-collapse: separate;
          border-spacing: 0px; -webkit-text-decorations-in-effect:
          none;">
          <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space;" class=""><span
              class="Apple-style-span" style="border-collapse: separate;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: normal;
              orphans: 2; text-indent: 0px; text-transform: none;
              white-space: normal; widows: 2; word-spacing: 0px;
              border-spacing: 0px; -webkit-text-decorations-in-effect:
              none; -webkit-text-stroke-width: 0px;">
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space;" class=""><span
                  class="Apple-style-span" style="border-collapse:
                  separate; font-style: normal; font-variant: normal;
                  font-weight: normal; letter-spacing: normal;
                  line-height: normal; orphans: 2; text-indent: 0px;
                  text-transform: none; white-space: normal; widows: 2;
                  word-spacing: 0px; border-spacing: 0px;
                  -webkit-text-decorations-in-effect: none;
                  -webkit-text-stroke-width: 0px;">
                  <div style="word-wrap: break-word; -webkit-nbsp-mode:
                    space; -webkit-line-break: after-white-space;"
                    class="">
                    <div style="margin: 0cm 0cm 0.0001pt;" class=""><font
                        class="" face="Helvetica Neue" color="#336833"><strong
                          class="">Entaksi Solutions srl</strong><o:p
                          class=""></o:p></font></div>
                    <div style="margin: 0cm 0cm 0.0001pt;" class=""><font
                        class="" face="Helvetica Neue" color="#336833">Via
                        la Piana 76 - fraz. Pontepetri -<o:p class=""></o:p></font></div>
                    <div style="margin: 0cm 0cm 0.0001pt;" class=""><font
                        class="" face="Helvetica Neue" color="#336833">51028

                        San Marcello Pistoiese (PT)</font></div>
                    <div style="margin: 0cm 0cm 0.0001pt;" class=""><span
                        style="color: rgb(70, 102, 53); font-family:
                        'Helvetica Neue';" class="">P.IVA 01621900479</span></div>
                    <div style="color: rgb(0, 0, 0); margin: 0cm 0cm
                      0.0001pt;" class=""><a
                        href="blocked::http://www.entaksi.eu/"
                        title="blocked::http://www.entaksi.eu/"
                        style="color: blue; text-decoration: underline;"
                        class=""><font class="" face="Helvetica Neue">http://www.entaksi.eu</font></a></div>
                    <div style="font-size: 12pt; color: rgb(0, 0, 0);
                      margin: 0cm 0cm 0.0001pt; font-family: 'Times New
                      Roman', serif;" class=""><font
                        class="Apple-style-span" size="3"><span
                          class="Apple-style-span" style="font-size:
                          13px;"><br class="webkit-block-placeholder">
                        </span></font></div>
                  </div>
                </span></div>
            </span></div>
        </span>
        <div style="font-weight: normal; font-style: normal;
          font-family: Helvetica; word-wrap: break-word;
          -webkit-nbsp-mode: space; -webkit-line-break:
          after-white-space;" class=""><font class="" face="Helvetica
            Neue" color="#191919"><b style="font-size: 11px;" class="">
              AZIENDA CON SISTEMA INTEGRATO </b></font><b style="color:
            rgb(25, 25, 25); font-family: 'Helvetica Neue'; text-align:
            -webkit-auto; font-size: 11px;" class="">DI GESTIONE</b></div>
        <div style="font-weight: normal; font-style: normal;
          font-family: Helvetica; font-size: 12px; word-wrap:
          break-word; -webkit-nbsp-mode: space; -webkit-line-break:
          after-white-space;" class=""><font class="" face="Helvetica
            Neue" color="#191919"><span style="font-size: 11px;"
              class=""><b class="">QUALITÀ</b><b style="font-size: 11px;
                color: rgb(25, 25, 25); font-family: 'Helvetica Neue';
                text-align: -webkit-auto;" class="">, SICUREZZA DELLE
                INFORMAZIONI, SERVIZI IT</b></span></font></div>
        <font class="" face="Helvetica Neue" color="#191919">
          <div style="font-weight: normal; font-style: normal;
            font-family: Helvetica; word-wrap: break-word;
            -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space;" class=""><font class="" face="Helvetica
              Neue" color="#191919"><b style="font-size: 11px;" class="">
                CERTIFICATO DA DNV</b></font><b style="font-size:
              x-small; font-family: 'Helvetica Neue', serif; color:
              rgb(0, 0, 10); text-align: -webkit-auto;" class=""><font
                class="" face="Helvetica Neue">·</font></b><font
              style="text-align: -webkit-auto;" class="" face="Helvetica
              Neue" color="#191919"><b style="font-size: 11px;" class="">GL</b></font><b
              style="text-align: -webkit-auto; font-family: 'Helvetica
              Neue'; font-size: 11px;" class=""><font class=""
                color="#2a599d"> </font></b></div>
          <div style="font-weight: normal; font-style: normal;
            font-family: Helvetica; font-size: 12px; word-wrap:
            break-word; -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space;" class=""><span style="font-size: 11px;"
              class=""><font style="text-align: -webkit-auto;" class=""
                color="#429630"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class=""> =</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class=""> ISO
                      9001 </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#429630"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">= </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">ISO </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">27</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">001 </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#429630"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">=</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class=""> ISO </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">2</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">0</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">00</b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#21448b"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">0 </b></span></font></font><font
                style="text-align: -webkit-auto;" class=""
                color="#429630"><font class="" face="HelveticaNeue,
                  serif"><span class="" lang="it-IT"><b class="">=</b></span></font></font></span></div>
        </font></div>
      <font class="" face="Helvetica Neue" color="#191919">
        <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
          -webkit-line-break: after-white-space;" class="">
          <div style="color: rgb(0, 0, 0); font-variant: normal;
            letter-spacing: normal; line-height: normal; orphans: 2;
            text-align: -webkit-auto; text-indent: 0px; text-transform:
            none; white-space: normal; widows: 2; word-spacing: 0px;
            -webkit-text-stroke-width: 0px;" class=""><span
              style="color: rgb(0, 0, 0); font-variant: normal;
              letter-spacing: normal; line-height: normal; orphans: 2;
              text-align: -webkit-auto; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><br
                  class="Apple-interchange-newline">
                <font class="" size="1"><span style="font-weight:
                    normal; font-style: normal; font-family: Helvetica;
                    color: rgb(51, 104, 51); text-align: -webkit-auto;"
                    class="">La presente comunicazione ha natura non
                    personale e le risposte potrebbero essere conosciute
                    nell'organizzazione di appartenenza da più soggetti
                    anche diversi dal mittente. Il messaggio e ogni
                    documento o file allegato è strettamente riservato
                    ed è rivolto unicamente alla/e persona/e o Enti cui
                    è indirizzata, ed alle altre/i da questi ultimi
                    autorizzate a riceverlo. S</span><span
                    style="font-weight: normal; font-style: normal;
                    font-family: Helvetica; color: rgb(51, 104, 51);
                    text-align: -webkit-auto;" class="">ono vietate l</span><span
                    style="color: rgb(51, 104, 51); text-align:
                    -webkit-auto;" class=""><font style="font-weight:
                      normal; font-style: normal;" class="">a
                      diffusione, la distribuzione e la copia delle
                      informazioni qui contenute da parte di soggetti
                      non espressamente autorizzati.</font><font
                      class="" face="Helvetica Neue"> </font></span></font><font
                  class="" face="Helvetica Neue" size="1"><span
                    style="color: rgb(51, 104, 51); text-align:
                    -webkit-auto;" class="">Se avete ricevuto questa
                    e-mail per errore Vi preghiamo di eliminarla dai
                    Vostri archivi e darne comunicazione al mittent</span><span
                    style="color: rgb(51, 104, 51); text-align:
                    -webkit-auto;" class="">e.</span></font></span></span></div>
        </div>
      </font></div>
  </body>
</html>