"required mechanism 'KEYCLOAK-SAML' is not available..." after setting up Wildfly servlet-saml-service-provider Quickstart · keycloak keycloak · Discussion #45237 · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"required mechanism 'KEYCLOAK-SAML' is not available..." after setting up Wildfly servlet-saml-service-provider Quickstart
#45237
I have, I believe I have followed all the steps in the Quickstarts for the "jakarta\servlet-saml-service-provider" example. I have attempted to deploy the "keycloak-saml-adapter-galleon-pack", maven plugin, and also set the maven repositories. I am attempting to run this quick start in a Docker container.
I can successfully build the package with mvn -Djakarta wildfly:package`` and mvn -Djakarta wildfly:deploy``` and produce the .war file, etc.
I have a Keycloak instance running and a Wildfly server running. I know the Wildfly server is running because I deployed a Wildfly Quickstart App (war) into the server and I can hit the url for that.
But whenever I attempt to deploy the Keycloak quickstart, get this error in the Wildfly Deployment provisioning page:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"servlet-saml-service-provider.war\".undertow-deployment" => "java.lang.RuntimeException: java.lang.IllegalStateException: The required mechanism 'KEYCLOAK-SAML' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory.
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: The required mechanism 'KEYCLOAK-SAML' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory.
Caused by: java.lang.IllegalStateException: The required mechanism 'KEYCLOAK-SAML' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory."}}
I have read that there are supposed to be some additional post-deployment scripts that need to be run, but I can find nothing like that anywhere.
Also, I continue to attempt to manually deploy the org.keycloak:keycloak-saml-adapter-galleon-pack:25.0.6 directly on the wildfly server inside the container like so:
Error: org.jboss.galleon.universe.maven.MavenUniverseException: Failed to resolve Maven universe org.jboss.universe:community-universe
* Failed to resolve Maven universe org.jboss.universe:community-universe
* Failed to determine the latest version of org.jboss.universe:community-universe:jar:[0.0,). Make sure the remote Maven repository is properly configured and available.*
I can't find any documentation or examples that seem to speak to any of this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have, I believe I have followed all the steps in the Quickstarts for the "jakarta\servlet-saml-service-provider" example. I have attempted to deploy the "keycloak-saml-adapter-galleon-pack", maven plugin, and also set the maven repositories. I am attempting to run this quick start in a Docker container.
I can successfully build the package with
mvn -Djakarta wildfly:package`` andmvn -Djakarta wildfly:deploy``` and produce the .war file, etc.I have a Keycloak instance running and a Wildfly server running. I know the Wildfly server is running because I deployed a Wildfly Quickstart App (war) into the server and I can hit the url for that.
But whenever I attempt to deploy the Keycloak quickstart, get this error in the Wildfly Deployment provisioning page:
I have read that there are supposed to be some additional post-deployment scripts that need to be run, but I can find nothing like that anywhere.
Also, I continue to attempt to manually deploy the
org.keycloak:keycloak-saml-adapter-galleon-pack:25.0.6directly on the wildfly server inside the container like so:/opt/jboss/galleon-7.0.0.Final/bin/galleon.sh install org.keycloak:keycloak-saml-adapter-galleon-pack:25.0.6 --layers=keycloak-client-samlHowever, I keep getting this error:
I can't find any documentation or examples that seem to speak to any of this.
Thank you!
All reactions