We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8577b83 commit 23e389bCopy full SHA for 23e389b
1 file changed
src/Token/JWKSTokenDecoder.php
@@ -94,6 +94,9 @@ public function decode(string $token, string $key): array
94
95
return json_decode($json, true, 512, JSON_THROW_ON_ERROR);
96
}
97
+ catch (TokenDecoderException $e) {
98
+ throw $e;
99
+ }
100
catch (\JsonException $e) {
101
throw TokenDecoderException::forDecodingError('JSON parsing failed: ' . $e->getMessage(), $e);
102
0 commit comments