diff --git a/README.md b/README.md index dc83bad..c4d1cd4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Implementation adapted from [firebase-scrypt-java](https://github.com/SmartMoveS ## Download latest built version ``` -curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/download/2.0.3/keycloak-firebase-scrypt-2.0.3.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-firebase-scrypt-2.0.3.jar +curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/download/2.0.4/keycloak-firebase-scrypt-2.0.4.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-firebase-scrypt-2.0.4.jar ``` ## Run @@ -20,7 +20,7 @@ curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/do ```bash cp deploy.cli docker/ -cp build/libs/keycloak-firebase-scrypt-2.0.3.jar docker/ +cp build/libs/keycloak-firebase-scrypt-2.0.4.jar docker/ docker-compose up -d ``` @@ -29,7 +29,7 @@ docker-compose up -d Deploy module: ``` -$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=build/libs/keycloak-firebase-scrypt-2.0.3.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase" +$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=build/libs/keycloak-firebase-scrypt-2.0.4.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase" ``` Register provider in `standalone/configuration/standalone.xml`: diff --git a/build.gradle.kts b/build.gradle.kts index 156ec34..1ea6133 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } group = "com.smartmovesystems.keycloak.firebasescrypt" -version = "2.0.3" +version = "2.0.4" java { sourceCompatibility = JavaVersion.VERSION_1_8 diff --git a/deploy.cli b/deploy.cli index 65f5552..ee2835e 100644 --- a/deploy.cli +++ b/deploy.cli @@ -1,4 +1,4 @@ embed-server --std-out=echo --server-config=standalone-ha.xml -module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=/opt/jboss/keycloak/keycloak-firebase-scrypt-2.0.3.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase +module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=/opt/jboss/keycloak/keycloak-firebase-scrypt-2.0.4.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase /subsystem=keycloak-server:list-add(name=providers, value=module:com.smartmovesystems.keycloak.firebasescrypt) stop-embedded-server \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index bb472ab..3388beb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ FROM jboss/keycloak:11.0.2 -COPY ./keycloak-firebase-scrypt-2.0.3.jar /opt/jboss/keycloak/ +COPY ./keycloak-firebase-scrypt-2.0.4.jar /opt/jboss/keycloak/ COPY ./deploy.cli /opt/jboss/startup-scripts/