<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">We removed
      "auth-server-url-for-backend-requests", so it's simplified now.
      Assuming your UI app and REST service are on same host, you can
      probably just use:
      UriUtils.getOrigin(req.getRequestURL().toString())<br>
      <br>
      For example see how our examples were changed:
<a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/commit/65dc7ddb4457e3cd6ba8d2488380c7d71ca6bca0#diff-6268b803d6242c4da807bdd5057ee990">https://github.com/keycloak/keycloak/commit/65dc7ddb4457e3cd6ba8d2488380c7d71ca6bca0#diff-6268b803d6242c4da807bdd5057ee990</a><br>
      <br>
      Marek<br>
      <br>
      On 13/05/16 16:07, Emil Posmyk wrote:<br>
    </div>
    <blockquote
cite="mid:CAGf0ewA_sQPo2NFwM6PhfzrQqHQ4jrqB9AepHu9jXyb6ht=dXQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi all<br>
            <br>
          </div>
          can you help me to find method getOriginForRestCalls from
          class: AdapterUtils ? Is there any alternative method now and
          how to use it if it is.<br>
          <br>
        </div>
        Many thanks.<br clear="all">
        <div>
          <div>
            <div>
              <div>
                <div class="gmail_signature">
                  <div><i><br>
                      ragards</i></div>
                  <div><i>--</i></div>
                  <i>Emil Posmyk<br>
                  </i></div>
              </div>
            </div>
          </div>
        </div>
      </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>