Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Oct 17, 2024
1 parent b8ecaf9 commit 8f9a9d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IdP/ADFS.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ public static function sendResponse(array $state): void
$assertion = ADFS::generateAssertion($idpEntityId, $spEntityId, $nameid, $attributes, $assertionLifetime);

$configUtils = new Utils\Config();
$privateKeyFile = $configUtils->getCertPath($idpMetadata->getString('privatekey'));
$certificateFile = $configUtils->getCertPath($idpMetadata->getString('certificate'));
$privateKeyFile = $configUtils->getCertPath($idpMetadata->getOptionalString('privatekey', null));
$certificateFile = $configUtils->getCertPath($idpMetadata->getOptionalString('certificate', null));
$passphrase = $idpMetadata->getOptionalString('privatekey_pass', null);

$algo = $spMetadata->getOptionalString('signature.algorithm', null);
Expand Down

0 comments on commit 8f9a9d4

Please sign in to comment.