Skip to content

Commit

Permalink
feat(docker-jans-persistence-loader): set feature flags state (#6833)
Browse files Browse the repository at this point in the history
  • Loading branch information
iromli committed Dec 1, 2023
1 parent 00aee0c commit 13ef9c2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-jans-persistence-loader/Dockerfile
Expand Up @@ -26,7 +26,7 @@ RUN python3 -m ensurepip \
# =====================

# janssenproject/jans SHA commit
ENV JANS_SOURCE_VERSION=2918c11a25b50a395c71ad5dc252cf49d319a407
ENV JANS_SOURCE_VERSION=fa98c326cb8d8a51c36053e44363fdf6ddcef4b9
ARG JANS_SETUP_DIR=jans-linux-setup/jans_setup
ARG JANS_SCRIPT_CATALOG_DIR=docs/script-catalog
ARG JANS_CONFIG_API_RESOURCES=jans-config-api/server/src/main/resources
Expand Down
20 changes: 20 additions & 0 deletions docker-jans-persistence-loader/scripts/hooks.py
Expand Up @@ -68,6 +68,26 @@ def transform_auth_dynamic_config_hook(conf, manager):
}),
("authorizationChallengeEndpoint", f"https://{hostname}/jans-auth/restv1/authorization_challenge"),
("archivedJwksUri", f"https://{hostname}/jans-auth/restv1/jwks/archived"),
("featureFlags", [
"health_check",
"userinfo",
"clientinfo",
"id_generation",
"registration",
"introspection",
"revoke_token",
"revoke_session",
"active_session",
"end_session",
"status_session",
"jans_configuration",
"ciba",
"device_authz",
"metric",
"stat",
"par",
"ssa"
])
]:
if missing_key not in conf:
conf[missing_key] = value
Expand Down

0 comments on commit 13ef9c2

Please sign in to comment.