Skip to content

Commit

Permalink
Removed duplicate check on jwks_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklambrechts committed May 17, 2023
1 parent 8ec206b commit 6288d59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/OpenIDConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,6 @@ public function verifyJWTSignature(string $jwt): bool
*/
public function verifySignatures(string $jwt)
{
if (!$this->getProviderConfigValue('jwks_uri')) {
throw new OpenIDConnectClientException ('Unable to verify signature due to no jwks_uri being defined');
}
if (!$this->verifyJWTSignature($jwt)) {
throw new OpenIDConnectClientException ('Unable to verify signature');
}
Expand Down

0 comments on commit 6288d59

Please sign in to comment.