Skip to content

Commit 788dff3

Browse files
committed
Fix JWTAlgorithm bug with RSA header
1 parent c7e5e15 commit 788dff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gamutils/src/main/java/com/genexus/gam/utils/json/JWTAlgorithm.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public static JWSAlgorithm getJWSAlgorithm(JWTAlgorithm alg)
2222
case HS384:
2323
return JWSAlgorithm.HS384;
2424
case RS256:
25+
return JWSAlgorithm.RS256;
26+
case RS512:
2527
return JWSAlgorithm.RS512;
2628
default:
2729
logger.error("getJWSAlgorithm - not implemented algorithm");

0 commit comments

Comments
 (0)