We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec206b commit ce52df0Copy full SHA for ce52df0
src/OpenIDConnectClient.php
@@ -1162,11 +1162,8 @@ public function verifyJWTSignature(string $jwt): bool
1162
* @return void
1163
* @throws OpenIDConnectClientException
1164
*/
1165
- public function verifySignatures(string $jwt)
+ public function verifySignatures(string $jwt): void
1166
{
1167
- if (!$this->getProviderConfigValue('jwks_uri')) {
1168
- throw new OpenIDConnectClientException ('Unable to verify signature due to no jwks_uri being defined');
1169
- }
1170
if (!$this->verifyJWTSignature($jwt)) {
1171
throw new OpenIDConnectClientException ('Unable to verify signature');
1172
}
0 commit comments