Skip to content

Commit fe7e092

Browse files
committed
optional id_token hash claims
1 parent 7dfbb4a commit fe7e092

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/IdTokenVerifier.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,10 @@ public function verify(string $jwt): array
8282
$alg = $header['alg'] ?? null;
8383

8484
if (null !== $this->accessToken) {
85-
$requiredClaims[] = 'at_hash';
8685
$validator = $validator->claim(new AtHashChecker($this->accessToken, $alg ?: ''));
8786
}
8887

8988
if (null !== $this->code) {
90-
$requiredClaims[] = 'c_hash';
9189
$validator = $validator->claim(new CHashChecker($this->code, $alg ?: ''));
9290
}
9391

0 commit comments

Comments
 (0)