angular2-keycloak
angular2-keycloak copied to clipboard
Example App: Wrong resource url
When running the example app following the "Test with an existing keycloak server running" instructions, the app will fail to run properly due to the fact that all static resource URLs expect the content of the angular2-keycloak/example/angular2-webpack-product-app/src/public/
directory to be found at http://localhost:8080/angular2-product
while they are actually hosted at the root http://localhost:8080/
.
The main issue is that the keycloak.json configuration file cannot be found.
A workaround is to move all content of the public
folder into a new subfolder called angular2-product
. You will probably want to create a proper fix though.