You use Keycloak for authentication. I am quite familiar with that project and I already have an existing keycloak server. It looks like you have integrated with the keycloak admin console itself. I want to keep up to date with the latest keycloak updates and use my own separate keycloak server. What is the best way to do that with Liveoak?

Thanks for the response! I Will give your suggestions a try. I did ask a similar question in the Keycloak user email list and received this response from Stian:

"To make LiveOak as easy as possible to use we wanted it to work out of the box, so we include a ready bootstrapped Keycloak.

It's quite easy to remove the bootstrap Keycloak server and use your own. Marek is going to upgrade Keycloak in LiveOak soon and he'll add some documentation on how to use an external Keycloak server." - Stian

The client.js file does take options but it seems that would only affect client side applications I am writing later on. I did try changing the keycloak.json file. Unfortunately there must be more to the story. Also, when starting the server for the first time, pointing to my existing mongo repository, a new liveoak-kc database is created that stores realms, roles and users. That is unnecessary for me as well. I prefer to use my own keycloak with that information stored in a centrally located relational database.

If you want embedded Keycloak to use different mongo database than "liveoak-kc" you can change it either via system properties or in the keycloak configuration file LIVEOAK_HOME/standalone/deployments/auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json .

If you want keycloak to use Relational database instead of mongo, then it's probably easier to switch to external Keycloak instead of reconfiguring embedded keycloak instance.