Decentralized Distributed Single Sign On Authentication System with Keycloak
Supported Keycloak Version : 10.0.1
- Jdk 1.8
- Maven 3.x
- Docker 19.03.x
- Docker Compose 1.25.x
cd keycloak-user-storage-blockchain
mvn clean install
sudo cp target/user-storage-blockchain.jar ../blockchain-sso/keycloak/jars
cd ..
cd blockchain-sso/first-network
./byfn.sh up -a -s couchdb
cd ..
sudo chmod +x build.sh
./build.sh
docker-compose up -d
Keycloak Admin Username : admin
Keycloak Admin Password : keycloak
Keycloak Admin Url : http://localhost:9080/auth/
Keycloak blockchain federation is enabled by default on blochain realm.
The following operations are currently active in the keycloak admin panel.
- View All Users on Blockchain
- Create User on Blockchain
- Update User on Blockchain
- Delete User on Blockchain
- Change User Password on Blockchain
- Authenticate User on Blockchain
- Search User on Elasticsearch
Admin Username : admin
Admin Password : root
Swagger Url : http://localhost:8081
Basic authentication is enabled in all rest apis.
Only admin user can access these APIs.
All rest apis can be tested on the swagger.
Admin Username : admin
Admin Password : adminpw
Hyperledger Explorer Url : http://localhost:8090
All transactions on the blockchain network can be viewed on hyperledger explorer.
Fabric Explorer Url : http://localhost:8081/explorer
Block info,block hash,blockchain network info information on the blockchain network can be viewed on fabric explorer.
Kibana Url : http://localhost:5601
Indexes on the elasticsearch side on kibana can be viewed
- Spring Boot 2.2.6
- Keycloak
- Elasticsearch
- Kibana
- Redis
- Swagger
- Hyperledger Fabric
- Hyperledger Explorer
- Fabric Explorer
- Keycloak Blockchain Federation Helm Deployment