Skip to content

Commit

Permalink
Actually pass additional constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver authored and Tobias Feijten committed Apr 2, 2024
1 parent 555eebc commit d41da00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OidcJwtHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function verifyToken(
}
}

if (!self::$validator->validate($token, ...$constraints)) {
if (!self::$validator->validate($token, ...$constraints, ...$additionalConstraints)) {
throw new OidcAuthenticationException('Unable to verify JWT claims');
}
}
Expand Down

0 comments on commit d41da00

Please sign in to comment.