Skip to content

Commit

Permalink
Allow multiple signing keys to be provided
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Aug 20, 2024
1 parent d2d2496 commit 0db449d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public AuthCredentials run() {
}

private AuthCredentials extractCredentials0(final SecurityRequest request) {
if (jwtParsers.isEmpty() || jwtParsers.getFirst() == null) {
if (jwtParsers.isEmpty() || jwtParsers.get(0) == null) {
log.error("Missing Signing Key. JWT authentication will not work");
return null;
}
Expand Down

0 comments on commit 0db449d

Please sign in to comment.