If you want to package it with your js app, you can just add the file "manually" to your project or if you are using npm, there is module for that https://www.npmjs.com/package/keycloak-js


On Fri, Mar 4, 2016 at 5:26 PM, Charles Moulliard <cmoulliard@redhat.com> wrote:
Hi,

The console-js demo part of the keycloak examples contains a reference
to the keycloak.js script

"<script src="/auth/js/keycloak.js"></script>"

but this rersource isn't packaged within the code source of the project
-
https://www.dropbox.com/s/hg6tfi3samdskn9/Screenshot%202016-03-04%2017.20.22.png?dl=0

So, how this js script
(https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js)
is packaged and deployed on keycloak demo server ? The doc is not really
explicit about that :
http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#javascript-adapter

Regards,

Charles
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user