Hello
This is not an upgrade, I installed from zero.
I looked at the WildFly console and here the error is "[org.keycloak.adapters.undertow.KeycloakServletExtension] (ServerService Thread Pool -- 130) No adapter configuration. Keycloak is unconfigured and will deny all requests."
At installation time I installed the adapter with these commands(that now give me the error "Duplicate resource" ):
[standalone@localhost:9990 /] /subsystem=security/security-domain=keycloak/:add
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource [
(\"subsystem\" => \"security\"),
(\"security-domain\" => \"keycloak\")
]",
"rolled-back" => true
}
[standalone@localhost:9990 /] /subsystem=security/security-domain=keycloak/authentication=classic/:add(login-modules=[{ "code" => "org.keycloak.adapters.jboss.KeycloakLoginModule","flag" => "required"}])
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource [
(\"subsystem\" => \"security\"),
(\"security-domain\" => \"keycloak\"),
(\"authentication\" => \"classic\")
]",
"rolled-back" => true
}
[standalone@localhost:9990 /] /extension=org.keycloak.keycloak-adapter-subsystem/:add(module=org.keycloak.keycloak-adapter-subsystem)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource [(\"extension\" => \"org.keycloak.keycloak-adapter-subsystem\")]",
"rolled-back" => true
}
[standalone@localhost:9990 /] /subsystem=keycloak:add
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource [(\"subsystem\" => \"keycloak\")]",
"rolled-back" => true
}
So the adapter is installed, why is WildFly reporting "No adapter configuration"?
Thank you.