Skip to content

Commit 05f1228

Browse files
Removed duplicate check on jwks_uri
1 parent 0c8f54d commit 05f1228

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/OpenIDConnectClient.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,7 @@ public function verifyLogoutToken(): bool
469469
$claims = $this->decodeJWT($logout_token, 1);
470470

471471
// Verify the signature
472-
if (!$this->getProviderConfigValue('jwks_uri')) {
473-
throw new OpenIDConnectClientException('Back-channel logout: Unable to verify signature due to no jwks_uri being defined');
474-
}
475-
if (!$this->verifyJWTSignature($logout_token)) {
476-
throw new OpenIDConnectClientException('Back-channel logout: Unable to verify JWT signature');
477-
}
472+
$this->verifySignatures($logout_token);
478473

479474
// Verify Logout Token Claims
480475
if ($this->verifyLogoutTokenClaims($claims)) {

0 commit comments

Comments
 (0)