From 1fe55fcf0e1ee205eacee1eb4d342049c165bfb6 Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Thu, 5 Dec 2024 14:25:20 +0100 Subject: [PATCH] :truck: [#521] Move example data.yaml --- .../setup_configuration/fixtures}/data.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) rename backend/{docker-services/setup-configuration => src/openarchiefbeheer/config/setup_configuration/fixtures}/data.yaml (52%) diff --git a/backend/docker-services/setup-configuration/data.yaml b/backend/src/openarchiefbeheer/config/setup_configuration/fixtures/data.yaml similarity index 52% rename from backend/docker-services/setup-configuration/data.yaml rename to backend/src/openarchiefbeheer/config/setup_configuration/fixtures/data.yaml index bf67e0fc..8db59142 100644 --- a/backend/docker-services/setup-configuration/data.yaml +++ b/backend/src/openarchiefbeheer/config/setup_configuration/fixtures/data.yaml @@ -38,3 +38,28 @@ zgw_consumers: api_configuration_enabled: True api_configuration: selectielijst_service_identifier: selectielijst + + +oidc_db_config_enable: True +oidc_db_config_admin_auth: + enabled: true + oidc_rp_client_id: "openarchiefbeheer-dev" + oidc_rp_client_secret: "very-secret-bla" + oidc_rp_sign_algo: "RS256" + oidc_token_use_basic_auth: false + username_claim: + - preferred_username + groups_claim: + - resource_access + - openarchiefbeheer-dev + - roles + superuser_group_names: + - Superuser + userinfo_claims_source: userinfo_endpoint + oidc_op_jwks_endpoint: "http://localhost:28080/realms/openarchiefbeheer-dev/protocol/openid-connect/certs" + oidc_op_logout_endpoint: "http://localhost:28080/realms/openarchiefbeheer-dev/protocol/openid-connect/logout" + oidc_rp_idp_sign_key: "" + endpoint_config: + oidc_op_authorization_endpoint: "http://localhost:28080/realms/openarchiefbeheer-dev/protocol/openid-connect/auth" + oidc_op_token_endpoint: "http://localhost:28080/realms/openarchiefbeheer-dev/protocol/openid-connect/token" + oidc_op_user_endpoint: "http://localhost:28080/realms/openarchiefbeheer-dev/protocol/openid-connect/userinfo"