diff --git a/lib/Auth/Process/PairwiseID.php b/lib/Auth/Process/PairwiseID.php index d94c0c2..1565385 100644 --- a/lib/Auth/Process/PairwiseID.php +++ b/lib/Auth/Process/PairwiseID.php @@ -89,7 +89,7 @@ public function process(array &$state): void $salt = $this->configUtils->getSecretSalt(); $hash = hash('sha256', $salt . '|' . $userID . '|' . $sp_entityid, false); - $value = strtolower($hash . '@' . $scope); + $value = $hash . '@' . strtolower($scope); $this->validateGeneratedIdentifier($value); $state['Attributes'][Constants::ATTR_PAIRWISE_ID] = [$value];