Skip to content

Commit ce52df0

Browse files
Removed duplicate check on jwks_uri
1 parent 8ec206b commit ce52df0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/OpenIDConnectClient.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,11 +1162,8 @@ public function verifyJWTSignature(string $jwt): bool
11621162
* @return void
11631163
* @throws OpenIDConnectClientException
11641164
*/
1165-
public function verifySignatures(string $jwt)
1165+
public function verifySignatures(string $jwt): void
11661166
{
1167-
if (!$this->getProviderConfigValue('jwks_uri')) {
1168-
throw new OpenIDConnectClientException ('Unable to verify signature due to no jwks_uri being defined');
1169-
}
11701167
if (!$this->verifyJWTSignature($jwt)) {
11711168
throw new OpenIDConnectClientException ('Unable to verify signature');
11721169
}

0 commit comments

Comments
 (0)