Hypersign authenticator for Keycloak
./build.sh
git tag <version_name>
git push origin --tags
using code
# clone
git clone https://github.com/keycloak/keycloak
cd keycloak
# build and install
mvn -Pdistribution -pl distribution/server-dist -am -Dmaven.test.skip clean install
# untar
tar xfz distribution/server-dist/target/keycloak-<VERSION>.tar.gz
# run server
cd keycloak-<VERSION>
nohup ./bin/standalone.sh &
OR using docker
./install.sh
This will pull and run keycloak docker from keycloack repo.
Note:
hs-autenticator
project on EclipseKCBASE
env variable in the bashrc
vim ~/.bashrc
export KCBASE="/home/vishswasb/work/proj/hm/keycloak/keycloak-8.0.0-SNAPSHOT" # path to keycloak home directory
# save and close vim
source ~/.bashrc
./keycloak-db-setup.sh
./keycloak-webcontext-setup.sh
./clean-build-install.sh
localhost:3000
localhost:3000
in browsersessionId
from network
, ex: c10cdc4b-3dab-40e9-be0a-c261c3123442
./sign
api with userId in the format Keycloak-Base-Url/auth/realms/master/hypersign/sign/{sessionId}/{userId}
asdad http://localhost:8080/auth/realms/master/hypersign/sign/c10cdc4b-3dab-40e9-be0a-c261c3123442/65fa0884-24ae-4c25-9260-df0f170290dc