From 359a7947136cd75abe8b8890953a38e46c62d55a 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 1b70ba037f60..d86e224f0ca3 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 @@ -748,6 +748,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 6ac10a6a7106..782cbc387a02 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 @@ -1049,6 +1049,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 e2b92f0eda8c..a4e7477c0b3e 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",