We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2255946 commit d5c490fCopy full SHA for d5c490f
1 file changed
src/Utils/DPop.php
@@ -230,7 +230,7 @@ private function getSubjectFromJwt($jwt) {
230
try {
231
$jwt = $jwtConfig->parser()->parse($jwt);
232
} catch(\Exception $e) {
233
- return $this->server->getResponse()->withStatus(409, "Invalid JWT token");
+ throw new \Exception("Invalid JWT token", 409, $e);
234
}
235
236
$sub = $jwt->claims()->get("sub");
0 commit comments