Are you using the appliance dist?  It should work out of the box.

Are you trying to deploy the keycloak auth server in the /deployments directory?  There is no need to do that any more because the auth server is now deployed and controlled from the keycloak subsystem.

On 2/17/2015 11:24 AM, Christina Lau wrote:
Do we need this? 

<subsystem xmlns="urn:jboss:domain:keycloak:1.0">
            <auth-server name="main-auth-server">

If I have this, I get this error:

11:17:29,821 ERROR [] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "auth-server.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"auth-server.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"auth-server.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"auth-server.war\"
    Caused by: org.jboss.msc.service.DuplicateServiceException: Service is already registered”}}

If I don’t have this, I get this error when deploying the demo app.

Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK"}}

keycloak-user mailing list