hypermine-bc / hs-authenticator

Hypersign authenticator for Keycloak
Apache License 2.0
0 stars 2 forks source link

hs-authenticator

Hypersign authenticator for Keycloak

Quick build and release

./build.sh
git tag <version_name>
git push origin --tags

AWS server setup

Aws Box setup

Setup keycloak

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:

Setup hs-autenticator project on Eclipse

  1. Open Eclipse IDE and select Import exisiting maven project
  2. Browse the folder where hs-authenticator is already downloaded and import it to your eclipse worksapce.

Build and run hs-authenticator

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 

Configuring HS authn in Keycloack

keycloak basic configuration

How to test API endpoint

As is highlevel keycloak flow

As-Is-flow.jpg

Hypersign Keycloack login workflow

hs-kc-e2e-flow.jpg

Registration flow

docs/registration.md