<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    NO, you can't.  This would create an open redirect probably and the
    themes are supposed to be completely independent of the protocol.<br>
    <br>
    <div class="moz-cite-prefix">On 1/15/2016 3:06 PM, Travis De Silva
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACQJ6LS+j0Ke+TSkK6rAmN=Yxy1LKQVvXdUzd=s5tBaM1Ms27A@mail.gmail.com"
      type="cite">
      <div dir="ltr">I can understand that. But without the client ID,
        we cannot redirect them back to the login screen. 
        <div><br>
        </div>
        <div>Is there anyway where the redirect url can be sent as a
          query string together with the code. That way, we can then
          pick the redirect url from the query string and redirect the
          user back to the appropriate login screen.</div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, 14 Jan 2016 at 18:56 Stian Thorgersen
          &lt;<a moz-do-not-send="true"
            href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">Once the client session is removed (it's
            deleted at some point after the login has timed out) the
            client id is no longer available. We have to delete this
            session at some point as otherwise we'd be left with garbage
            from abandoned logins</div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra">
            <div class="gmail_quote">On 13 January 2016 at 21:27, Travis
              De Silva <span dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:traviskds@gmail.com" target="_blank">traviskds@gmail.com</a>&gt;</span>
              wrote:<br>
            </div>
          </div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr">Hi,
                  <div><br>
                  </div>
                  <div>For theming the login for different clients
                    within a realm, we are conditionally checking for
                    the client ID in the freemarker templates and then
                    accordingly including sub freemarker templates. This
                    is working perfectly but the issue is for certain
                    errors, such as "You took too long to login. Login
                    process starting from beginning.", the clientid
                    becomes null ( (sometimes).</div>
                  <div><br>
                  </div>
                  <div>Is there anything I can do from the freemarker
                    template to identify the client id so I can then
                    accordingly handle these errors?</div>
                  <div><br>
                  </div>
                  <div>Cheers</div>
                  <div>Travis</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <p><span>clientId=null</span></p>
                  </div>
                </div>
                <br>
              </blockquote>
            </div>
          </div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
                keycloak-user mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:keycloak-user@lists.jboss.org"
                  target="_blank">keycloak-user@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
                  rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>