From 01ca2a5dd7a844ebe7c3d9d972910d47e02f4053 Mon Sep 17 00:00:00 2001 From: ImalshaG Date: Wed, 19 Jul 2023 07:14:05 +0530 Subject: [PATCH] Add config to enable response signing for idp init saml sso --- .../resources/identity.xml | 1 + .../resources/identity.xml.j2 | 1 + .../org.wso2.carbon.identity.core.server.feature.default.json | 1 + 3 files changed, 3 insertions(+) diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml index 4b73d8c0385b..a183d0e6bb26 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml @@ -745,6 +745,7 @@ 5 false + true false true diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 index 8fc2bac0bfd7..711541aedce4 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 @@ -1047,6 +1047,7 @@ {{saml.request_validity_period}} {{saml.enable_saml_sp_certificate_expiry_validation}} + {{saml.enable_saml_idp_init_logout_response_signing}} {{saml.metadata.enable_authentication_requests_signing}} {{saml.metadata.assertion_encrypt_with_app_cert}} {% if saml.metadata.define_name_id_policy_if_unspecified is defined %} diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json index 7b213d5dc1ce..e9f38495b76c 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json @@ -237,6 +237,7 @@ "saml.request_validity_period": "5m", "saml.metadata.assertion_encrypt_with_app_cert": true, "saml.enable_saml_sp_certificate_expiry_validation": true, + "saml.enable_saml_idp_init_logout_response_signing": true, "saml.endpoints.idp_url": "$ref{server.base_path}/samlsso", "saml.endpoints.logout": "$ref{server.base_path}/authenticationendpoint/samlsso_logout.do",