<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Maybe you can use "theme.properties"
      file and configure some property, which will be different in your
      staging and production environment . In the freemarker template,
      the properties of theme should be available under key "properties"
      . So you can read your property from the freemarker file. <br>
      <br>
      Seems you will need different version of theme.properties for your
      staging and production, but I don't have better idea to solve this
      :/<br>
      <br>
      Marek<br>
      <br>
      On 06/05/16 23:04, Chris Hairfield wrote:<br>
    </div>
    <blockquote
cite="mid:CALr83iAJ_TzK7ym_fb-Zx7qONyq5uskrbBqQcLgKvo0ei9mWag@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <p
style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px;line-height:normal">We're
          considering building an account management theme that is
          capable of uploading a profile photo. We'd save the photo to
          an S3 bucket, and would wish to do so based on environment;
          our stage Keycloak would point to a stage S3 bucket, prod to
          the prod bucket, etc..</p>
        <p
style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px;line-height:normal"><br>
        </p>
        <p
style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px;line-height:normal">Is
          there a way to configure Keycloak on a per-environment basis
          such that our theme could know its environment in order
          to point to the correct S3 bucket?</p>
        <p
style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px;line-height:normal"><br>
        </p>
        <p
style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px;line-height:normal">Thanks!<br>
          Chris</p>
      </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>
  </body>
</html>