diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md index 63a41a7007e1c0444f44be715d0a015ecae77d0e..aa7908479bae1c879661d252c52d1d15f29fda65 100644 --- a/docs/simplesamlphp-changelog.md +++ b/docs/simplesamlphp-changelog.md @@ -13,6 +13,7 @@ Released TBD * Fixed a bug in the Artifact Resolution Service (#1428) * Fixed compatibility with Composer pre 1.8.5 (Debian 10) (#1427) * Updated npm dependencies up to February 1, 2021 + * Fixed a bug where it was impossible to set WantAssertionsSigned=true on SP-metadata (#1433) ### memcacheMonitor * Fix a bug in the Twig-template that causes an exception on newer Twig-versions diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index 1dcc2425ad7869ab797350416a16cfde6c15567e..106be2631a6f944153fa7c7a85c52933982afd01 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -267,7 +267,7 @@ class SP extends \SimpleSAML\Auth\Source } // add signature options - if ($this->metadata->hasValue('WantAssertiosnsSigned')) { + if ($this->metadata->hasValue('WantAssertionsSigned')) { $metadata['saml20.sign.assertion'] = $this->metadata->getBoolean('WantAssertionsSigned'); } if ($this->metadata->hasValue('redirect.sign')) {