<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2016 at 18:18, Sebastien Blanc <span dir="ltr"><<a href="mailto:sblanc@redhat.com" target="_blank">sblanc@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">No CORS stuff needed as the keycloak.json will always be on the same domain as the app, it happens here <a href="https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L523" target="_blank">https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L523</a></div></blockquote><div><br></div><div>keycloak.json can be loaded from anywhere (see <a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#javascript-adapter">http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#javascript-adapter</a>), but it'd be up to whatever serves it to make sure CORS headers are added.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 6:12 PM, Charles Moulliard <span dir="ltr"><<a href="mailto:cmoulliard@redhat.com" target="_blank">cmoulliard@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
How is the keycloak.json file loaded by the keycloak.js script as I<br>
don't see any value like this "cors-allowed-methods" within the<br>
keycloak.js file ?<br>
<br>
Regards,<br>
<br>
Charles<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a 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>
</div></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a 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></div>