<div dir="ltr">Hi Haris,<br><br>I haven't tested it, but by my understanding, whitelisting the origin "<a href="https://localhost:8443">https://localhost:8443</a>" may actually work, if I'm understanding your use case correctly.<br><br>Otherwise, you might want to consider disabling CORS security in your browsers, eg <a href="https://www.thepolyglotdeveloper.com/2014/08/bypass-cors-errors-testing-apis-locally/">https://www.thepolyglotdeveloper.com/2014/08/bypass-cors-errors-testing-apis-locally/</a><br><br>Sean.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 June 2016 at 22:45, Haris Alijagić <span dir="ltr"><<a href="mailto:Haris.Alijagic@halcom.si" target="_blank">Haris.Alijagic@halcom.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="SL" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I saw you added an option to whitelist origins for Zanata Rest requests. I was wondering if you could help me with this situation. For example lets say in our network Zanata is set up on this domain :
<a href="https://zanatadomain/zanata" target="_blank">https://zanatadomain/zanata</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">And then on the same network we have for example 30 computers that run their own web application each on their own localhost for example :
<a href="https://localhost:8443/webapp" target="_blank">https://localhost:8443/webapp</a><u></u><u></u></p>
<p class="MsoNormal">What would I need to put as the whitelist value in the configuration so that every one could send Rest requests to zanata from their webapp, would just »https://localhost:8443« work I assume it wouldnt?<br>
<br>
Thank you for your help<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Haris Alijagic<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sean Flanigan<br><br>Principal Software Engineer<br>Globalisation Tools Engineering<br>Red Hat</div></div></div></div>
</div>