<p dir="ltr">Hi all I am getting the below message with KeyCloak 1.5.0/WF9.0.1 overlay installation. My configuration file looks exactly the same as the stock one, e.g: &lt;extensions&gt; ... &lt;extension module=&quot;org.keycloak.keycloak-server-subsystem&quot;/&gt; ... &lt;/extensions&gt; ... &lt;profile&gt; ...         &lt;subsystem xmlns=&quot;urn:jboss:domain:keycloak-server:1.1&quot;&gt;          &lt;web-context&gt;auth&lt;/web-context&gt;         &lt;/subsystem&gt; &lt;/profile&gt; The module jars are properly put in the WF folders My web.xml also seems right too: ========================================= &lt;web-app xmlns=&quot;<a href="http://xmlns.jcp.org/xml/ns/javaee">http://xmlns.jcp.org/xml/ns/javaee</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xsi:schemaLocation=&quot;<a href="http://xmlns.jcp.org/xml/ns/javaee">http://xmlns.jcp.org/xml/ns/javaee</a> <a href="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd</a>&quot; version=&quot;3.1&quot;&gt; &lt;!-- Default page to serve --&gt; &lt;welcome-file-list&gt; &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt; &lt;/welcome-file-list&gt; &lt;!-- This error page rule responds with the GWT Host page for pushstate Errai Navigation URLs --&gt; &lt;error-page&gt; &lt;error-code&gt;404&lt;/error-code&gt; &lt;location&gt;/&lt;/location&gt; &lt;/error-page&gt; &lt;!-- Erray Keycloak security --&gt; &lt;filter&gt; &lt;filter-name&gt;ErraiLoginRedirectFilter&lt;/filter-name&gt; &lt;init-param&gt; &lt;param-name&gt;redirectLocation&lt;/param-name&gt; &lt;param-value&gt;/index_draft.jsp&lt;/param-value&gt; &lt;/init-param&gt; &lt;/filter&gt; &lt;!-- JAX-RS configuration--&gt; &lt;servlet-mapping&gt; &lt;servlet-name&gt;javax.ws.rs.core.Application&lt;/servlet-name&gt; &lt;url-pattern&gt;/rest/*&lt;/url-pattern&gt; &lt;/servlet-mapping&gt; &lt;filter-mapping&gt; &lt;filter-name&gt;ErraiUserCookieFilter&lt;/filter-name&gt; &lt;url-pattern&gt;/index_draft.jsp&lt;/url-pattern&gt; &lt;/filter-mapping&gt; &lt;filter-mapping&gt; &lt;filter-name&gt;ErraiLoginRedirectFilter&lt;/filter-name&gt; &lt;url-pattern&gt;/app-login&lt;/url-pattern&gt; &lt;/filter-mapping&gt; &lt;security-constraint&gt; &lt;web-resource-collection&gt; &lt;web-resource-name&gt;Login&lt;/web-resource-name&gt; &lt;url-pattern&gt;/app-login&lt;/url-pattern&gt; &lt;/web-resource-collection&gt; &lt;auth-constraint&gt; &lt;role-name&gt;*&lt;/role-name&gt; &lt;/auth-constraint&gt; &lt;/security-constraint&gt; &lt;login-config&gt; &lt;auth-method&gt;KEYCLOAK&lt;/auth-method&gt; &lt;realm-name&gt;whatever&lt;/realm-name&gt; &lt;/login-config&gt; &lt;security-role&gt; &lt;role-name&gt;user&lt;/role-name&gt; &lt;/security-role&gt; &lt;security-role&gt; &lt;role-name&gt;admin&lt;/role-name&gt; &lt;/security-role&gt; &lt;/web-app&gt; I can access the KC admin console and configure realms/users/roles no problem in the WF 9.0.1 server, np. I am out of ideas of what could be causing it. Any hints? Thanks ========================================================================================================== 11:47:54,444 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service <a href="http://jboss.undertow.deployment.default-server.de">jboss.undertow.deployment.default-server.de</a> fault-host./draft: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./draft: java.lang.RuntimeException: jav a.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:224) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK at io.undertow.servlet.core.DeploymentManagerImpl.setupSecurityHandlers(DeploymentManagerImpl.java:326) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:200) ... 8 more 11:47:54,471 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation (&quot;deploy&quot;) failed - address: ([(&quot;deploy ment&quot; =&gt; &quot;draft.war&quot;)]) - failure description: {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;jboss.undertow.deployment.default-server.default-host./draft&quot; =&gt; &quot;org.jboss. msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./draft: java.lang.RuntimeException: java.lang.RuntimeException: UT01 0039: Unknown authentication mechanism KEYCLOAK Caused by: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK&quot;}} 11:47:54,478 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment &quot;draft.war&quot; was rolled back with the following failur e message: {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;jboss.undertow.deployment.default-server.default-host./draft&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.und ertow.deployment.default-server.default-host./draft: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK Caused by: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK&quot;}} 11:47:54,488 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 79) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service &#39;draft.war#s4g&#39;</p>
<p dir="ltr">/Hristo Stoyanov</p>