Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docker-jans-persistence-loader): set feature flags state #6833

Merged
merged 1 commit into from Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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