Skip to content

Commit

Permalink
Fix JWTAlgorithm bug with RSA header
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrampone committed Jan 21, 2025
1 parent c7e5e15 commit 788dff3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public static JWSAlgorithm getJWSAlgorithm(JWTAlgorithm alg)
case HS384:
return JWSAlgorithm.HS384;
case RS256:
return JWSAlgorithm.RS256;
case RS512:
return JWSAlgorithm.RS512;
default:
logger.error("getJWSAlgorithm - not implemented algorithm");
Expand Down

0 comments on commit 788dff3

Please sign in to comment.