Hi Bas,
I just had a quick look into your GitHub repo and didn’t run any boot app with Jetty so
far, but what I figured out is, that your application.properties file is completely empty.
That’s normally the place where to put your Keycloak properties. Without them, the KC
adapter doesn’t know what to do… Have a look at my KC Spring Boot Example:
https://github.com/dasniko/keycloak-springboot-demo/
<
https://github.com/dasniko/keycloak-springboot-demo/> perhaps this will help you
(and of course, have a look into the official KC documentation!)
Cheers,
- Niko
Am 07.10.2016 um 12:57 schrieb Bas Dalenoord
<bdalenoord(a)gmail.com>:
Hello,
I'm trying to secure a Spring Boot-based application using Keycloak, but as
soon as I include the 'keycloak-spring-boot-adapter' artifact, my
application does not start anymore, throwing seemingly unrelated
exceptions. I'm following this tutorial
<
http://slackspace.de/articles/authentication-with-spring-boot-angularjs-a...
the backend part, but I upgraded all version numbers to the latest final
releases available.
I've created a stripped down version of the application with which I can
reproduce the errors. It can be found on my GitHub
<
https://github.com/bdalenoord/keycloak-spring-boot-issue>. If I remove the
adapter-artifact, everything starts normally. I'm guessing it has to do
with Spring Boots autoconfiguration, but I cannot figure out what I should
change to get everything working.
Can anyone tell me what I'm doing wrong and what I can do to fix the
problem?
Thanks,
Bas
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user