cerebrate-project / cerebrate

Cerebrate is an open-source platform meant to act as a trusted contact information provider and interconnection orchestrator for other security tools.
https://www.cerebrate-project.org/
GNU Affero General Public License v3.0
82 stars 16 forks source link

Added checks for KC being enabled (fixes #106) #107

Open DocArmoryTech opened 2 years ago

DocArmoryTech commented 2 years ago

Initialisation of Auth behaviour and enrollment of users in KC, was dependent on the presence of a keycloak section in config.json

Added checks to ensure KC is configured as "enabled", rather than just checking if a keycloak config section was present.