Skip to content

Commit

Permalink
Merge pull request #285 from pagopa/PG-17-Gestione-JWT-in-Base64
Browse files Browse the repository at this point in the history
GP-17 fix JWT management
  • Loading branch information
albertogelmi-sia authored Jul 24, 2023
2 parents d1a6e5a + 09ae2e6 commit 2294e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public String generateToken(String requestId) {
.setId(UUID.randomUUID().toString())
.setIssuedAt(issueDate)
.setExpiration(expiryDate)
.signWith(HS256, jwtTokenKey.getBytes(UTF_8))
.signWith(HS256, jwtTokenKey)
.compact();
}
}

0 comments on commit 2294e74

Please sign in to comment.