feat(extensions): Add Keycloak integration

Added Keycloak related configurations and extension requirements. This enables authentication through Keycloak and configures necessary credentials.
This commit is contained in:
Maicol Battistini 2024-09-30 20:08:21 +02:00
parent 628132faf3
commit 66b6f0fce8
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View File

@ -12,6 +12,13 @@ declare -A config_values=(
["ckan.harvest.mq.hostname"]="redis"
# Google Analytics
["googleanalytics.id"]="UA-1010101-1"
# Keycloak
["ckanext.keycloak.server_url"]="link_to_keycloack_authentication_url"
["ckanext.keycloak.client_id"]="client_id"
["ckanext.keycloak.realm_name"]="realm_name"
["ckanext.keycloak.redirect_uri"]="http://localhost:5000/user/sso_login"
["ckanext.keycloak.client_secret_key"]="client_secret_key"
["ckanext.keycloak.enable_ckan_internal_login"]="True"
)
for key in "${!config_values[@]}"; do

View File

@ -1,6 +1,7 @@
# Spatial
-e git+https://github.com/mjanez/ckanext-spatial@v2.1.1#egg=ckanext-spatial
geojson==3.1.0
shapely==2.0.6
# Harvester
-e git+https://github.com/ckan/ckanext-harvest.git#egg=ckanext-harvest
@ -11,4 +12,5 @@ geojson==3.1.0
# DCAT
-e git+https://github.com/ckan/ckanext-dcat.git#egg=ckanext-dcat
shapely==2.0.6
# Keycloak
-e git+https://github.com/keitaroinc/ckanext-keycloak.git#egg=ckanext-keycloak