We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784b7dc commit ba51841Copy full SHA for ba51841
1 file changed
Provider.php
@@ -510,9 +510,12 @@ protected function validateTimestamps(): void
510
511
protected function validateSignature(): void
512
{
513
- $keyDescriptors = $this->getIdentityProviderEntityDescriptor()
514
- ->getFirstIdpSsoDescriptor()
515
- ->getAllKeyDescriptorsByUse(KeyDescriptor::USE_SIGNING);
+ $idpSsoDescriptor = $this->getIdentityProviderEntityDescriptor()->getFirstIdpSsoDescriptor();
+
+ $keyDescriptors = array_merge(
516
+ $idpSsoDescriptor->getAllKeyDescriptorsByUse(KeyDescriptor::USE_SIGNING),
517
+ $idpSsoDescriptor->getAllKeyDescriptorsByUse(null),
518
+ );
519
520
/** @var SignatureXmlReader $signatureReader */
521
$signatureReader = $this->messageContext->getMessage()->getSignature() ?: $this->getFirstAssertion()->getSignature();
0 commit comments