Skip to content

updox/keycloak-bcrypt

This branch is 3 commits ahead of, 32 commits behind leroyguillaume/keycloak-bcrypt:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d1ab0ef Β· Feb 11, 2025

History

23 Commits
Aug 23, 2020
Feb 18, 2022
Sep 15, 2021
Aug 23, 2020
Aug 23, 2020
Jan 12, 2018
Feb 18, 2022
Feb 18, 2022
Feb 11, 2025
Feb 18, 2022
Sep 15, 2021
Sep 15, 2021
Aug 23, 2020

Repository files navigation

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.5.0.jar docker/
docker-compose up -d
# Waiting for Keycloak startup
docker-compose exec keycloak /opt/jboss/keycloak/bin/add-user-keycloak.sh -u admin -p admin # to create admin user
docker-compose restart keycloak

Install

curl -L https://github.com/leroyguillaume/keycloak-bcrypt/releases/download/1.5.0/keycloak-bcrypt-1.5.0.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-bcrypt-1.5.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.

About

Add BCrypt password provider in Keycloak

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.4%
  • Dockerfile 2.6%