Skip to content

Commit

Permalink
Add config to enable response signing for idp init saml sso
Browse files Browse the repository at this point in the history
  • Loading branch information
ImalshaG committed Jul 19, 2023
1 parent 09fd6ca commit 359a794
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@
<!-- Request validity period in minutes-->
<SAML2AuthenticationRequestValidityPeriod>5</SAML2AuthenticationRequestValidityPeriod>
<SAMLSPCertificateExpiryValidationEnabled>false</SAMLSPCertificateExpiryValidationEnabled>
<SAMLIdpInitLogoutResponseSigningEnabled>true</SAMLIdpInitLogoutResponseSigningEnabled>
<SAML2AuthnRequestsSigningEnabled>false</SAML2AuthnRequestsSigningEnabled>
<SAMLAssertionEncyptWithAppCert>true</SAMLAssertionEncyptWithAppCert>
</SSOService>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@
<!-- Request validity period in minutes-->
<SAML2AuthenticationRequestValidityPeriod>{{saml.request_validity_period}}</SAML2AuthenticationRequestValidityPeriod>
<SAMLSPCertificateExpiryValidationEnabled>{{saml.enable_saml_sp_certificate_expiry_validation}}</SAMLSPCertificateExpiryValidationEnabled>
<SAMLIdpInitLogoutResponseSigningEnabled>{{saml.enable_saml_idp_init_logout_response_signing}}</SAMLIdpInitLogoutResponseSigningEnabled>
<SAML2AuthnRequestsSigningEnabled>{{saml.metadata.enable_authentication_requests_signing}}</SAML2AuthnRequestsSigningEnabled>
<SAMLAssertionEncyptWithAppCert>{{saml.metadata.assertion_encrypt_with_app_cert}}</SAMLAssertionEncyptWithAppCert>
{% if saml.metadata.define_name_id_policy_if_unspecified is defined %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 359a794

Please sign in to comment.