Skip to content

Commit f385692

Browse files
committed
fix calculation
1 parent 5c39a2b commit f385692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/DPop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function makeJwkThumbprint($jwk) {
140140
$jwk['y']
141141
]);
142142
}
143-
$hash = hash('sha256', json_encode($json), true);
143+
$hash = hash('sha256', $json, true);
144144
$encoded = Base64Url::encode($hash);
145145
return $encoded;
146146
}

0 commit comments

Comments
 (0)