Skip to content

Commit 7ead9b7

Browse files
authored
Merge pull request eugenp#3834 from eugenp/jjwt-alg-fix
change alg signature
2 parents df7514e + e192f70 commit 7ead9b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎jjwt/src/main/java/io/jsonwebtoken/jjwtfun/service/SecretService.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public byte[] getHS384SecretBytes() {
5858
}
5959

6060
public byte[] getHS512SecretBytes() {
61-
return TextCodec.BASE64.decode(secrets.get(SignatureAlgorithm.HS384.getValue()));
61+
return TextCodec.BASE64.decode(secrets.get(SignatureAlgorithm.HS512.getValue()));
6262
}
6363

6464
public Map<String, String> refreshSecrets() {

0 commit comments

Comments
 (0)