<div dir="ltr">ATM the examples assumes they are using the demo distro and so are deployed to the same server. That&#39;s obviously not great and something we want to improve.<div></div><div><br></div><div>For your own apps you have the choice of:</div><div>* Load keycloak.js directly from KC server (/auth/js/keycloak.js)</div><div>* Add to your app (copy from /auth/js/keycloak.js, use Bower or just download it from <a href="http://keycloak.org/downloads">keycloak.org/downloads</a>)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2016 at 17:26, Charles Moulliard <span dir="ltr">&lt;<a href="mailto:cmoulliard@redhat.com" target="_blank">cmoulliard@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The console-js demo part of the keycloak examples contains a reference<br>
to the keycloak.js script<br>
<br>
&quot;&lt;script src=&quot;/auth/js/keycloak.js&quot;&gt;&lt;/script&gt;&quot;<br>
<br>
but this rersource isn&#39;t packaged within the code source of the project<br>
-<br>
<a href="https://www.dropbox.com/s/hg6tfi3samdskn9/Screenshot%202016-03-04%2017.20.22.png?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/hg6tfi3samdskn9/Screenshot%202016-03-04%2017.20.22.png?dl=0</a><br>
<br>
So, how this js script<br>
(<a href="https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js" rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js</a>)<br>
is packaged and deployed on keycloak demo server ? The doc is not really<br>
explicit about that :<br>
<a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#javascript-adapter" rel="noreferrer" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#javascript-adapter</a><br>
<br>
Regards,<br>
<br>
Charles<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>