diff --git a/app/Access/Saml2Service.php b/app/Access/Saml2Service.php index 106a7a22906..643d8bc002d 100644 --- a/app/Access/Saml2Service.php +++ b/app/Access/Saml2Service.php @@ -157,7 +157,7 @@ public function metadata(): string { $toolKit = $this->getToolkit(true); $settings = $toolKit->getSettings(); - $metadata = $settings->getSPMetadata(); + $metadata = $settings->getSPMetadata(ignoreValidUntil: true); $errors = $settings->validateMetadata($metadata); if (!empty($errors)) {