Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 644 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 644 Bytes

Keycloak BCrypt

Add a password hash provider to handle BCrypt passwords inside Keycloak.

Build

./gradlew jar

Test with docker-compose

cp build/libs/keycloak-bcrypt-1.6.0.jar docker/
docker-compose up -d

Install

curl -L https://github.com/ommsolutions/keycloak-bcrypt/releases/download/1.6.0/keycloak-bcrypt-1.6.0.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-bcrypt-1.6.0.jar

You need to restart Keycloak.

How to use

Go to Authentication / Password policy and add hashing algorithm policy with value bcrypt.

To test if installation works, create new user and set its credentials.