[keycloak-user] keycloak javascript resources- how are they added

Stian Thorgersen sthorger at redhat.com
Mon Mar 7 02:03:40 EST 2016


ATM the examples assumes they are using the demo distro and so are deployed
to the same server. That's obviously not great and something we want to
improve.

For your own apps you have the choice of:
* Load keycloak.js directly from KC server (/auth/js/keycloak.js)
* Add to your app (copy from /auth/js/keycloak.js, use Bower or just
download it from keycloak.org/downloads)

On 4 March 2016 at 17:26, Charles Moulliard <cmoulliard at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160307/1461dd8e/attachment.html 


More information about the keycloak-user mailing list