When I tried to deploy the keycloak-quickstart app-profile-jee-vanilla project, I ran into an error message. A bit of web searching did not provide a resolution, so I thought to ask here.
Here are the steps that I followed. Three bash shells are involved.
curl -O -L https://downloads.jboss.org/keycloak/4.1.0.Final/keycloak-4.1.0.Final.tar.gz tar xvfz keycloak-4.1.0.Final.tar.gz ./keycloak-4.1.0.Final/bin/standalone.sh -Djboss.socket.binding.port-offset=100
curl -O -L http://download.jboss.org/wildfly/11.0.0.Final/wildfly-11.0.0.Final.tar.gz curl -O -L https://downloads.jboss.org/keycloak/4.1.0.Final/adapters/keycloak-oidc/keycloak-wildfly-adapter-dist-4.1.0.Final.tar.gz tar xvfz wildfly-11.0.0.Final.tar.gz cd wildfly-11.0.0.Final tar xvfz ../keycloak-wildfly-adapter-dist-4.1.0.Final.tar.gz cd bin ./jboss-cli.sh --file=adapter-elytron-install-offline.cli cd ../.. ./wildfly-11.0.0.Final/bin/standlone.sh
git clone https://github.com/keycloak/keycloak-quickstarts cd keycloak-quickstarts/app-profile-jee-vanilla mvn clean wildfly:deploy
After a few minutes of compiling and such I see the "The required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the HttpAuthenticationFactory" message.
Can someone point me in the direction to resolve this issue?
The problem, as I now see, is that the elytron adapter was installed and it should not have been. I removed the Wildfly directory. Then un-tarred the tgz file. Without doing any other configuration, I started the Wildfly server. After the server started, the wildfly:deploy maven command worked.
you just need to configure the following file: standalone/configuration/standalone.xml
check the link bellow: https://www.keycloak.org/docs/latest/getting_started/index.html
step 4.5
before run:
sudo mvn clean wildfly:deploy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With