Java Compilation Error for OIDC SSO 2.1.1 Module

0
I have migrated my Mendix project from 9.15.1 to 9.24.2. After importing OIDC Module and its dependent modules , I am getting following compilation error:   > Task :clean-custom-classes > Task :compile D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\AzureRoleParse.java:68: error: cannot find symbol String payload= jwt.getPayload(); ^ symbol: method getPayload() location: variable jwt of type DecodedJWT D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\DecodeJWTPlainText.java:36: error: cannot find symbol return new String(Base64.getUrlDecoder().decode(jwt.getPayload())); ^ symbol: method getPayload() location: variable jwt of type DecodedJWT D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\DecodeVerifyJWTPlainText.java:58: error: method RSA256 in class Algorithm cannot be applied to given types; Algorithm algorithm = Algorithm.RSA256((RSAPublicKey) jwk.getPublicKey(), null); ^ required: RSAKey found: RSAPublicKey,<null> reason: actual and formal argument lists differ in length D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\DecodeVerifyJWTPlainText.java:69: error: incompatible types: com.auth0.jwt.JWTVerifier cannot be converted to com.auth0.jwt.interfaces.JWTVerifier JWTVerifier verifier = verification.build(); //Reusable verifier instance ^ D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\DecodeVerifyJWTPlainText.java:71: error: cannot find symbol return new String(Base64.getUrlDecoder().decode(jwtv.getPayload())); ^ symbol: method getPayload() location: variable jwtv of type DecodedJWT D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\GenerateJWT.java:72: error: method RSA256 in class Algorithm cannot be applied to given types; alg = Algorithm.RSA256(pubKey, privKey); ^ required: RSAKey found: RSAPublicKey,RSAPrivateKey reason: actual and formal argument lists differ in length D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\GenerateJWT.java:75: error: method RSA384 in class Algorithm cannot be applied to given types; alg = Algorithm.RSA384(pubKey, privKey); ^ required: RSAKey found: RSAPublicKey,RSAPrivateKey reason: actual and formal argument lists differ in length D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\GenerateJWT.java:78: error: method RSA512 in class Algorithm cannot be applied to given types; alg = Algorithm.RSA512(pubKey, privKey); ^ required: RSAKey found: RSAPublicKey,RSAPrivateKey reason: actual and formal argument lists differ in length D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\GenerateJWT.java:101: error: cannot find symbol if (jwt.getkid() != null && !jwt.getkid().isBlank()) builder.withKeyId(jwt.getkid()); ^ symbol: method withKeyId(String) location: variable builder of type Builder D:\MendixSC\My MendixApp-POC_OIDC_001\javasource\oidc\actions\RoleAssignment.java:68: error: cannot find symbol String payload= jwt.getPayload(); ^ symbol: method getPayload() location: variable jwt of type DecodedJWT Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 10 errors > Task :compile FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compile'. > Compilation failed; see the compiler error output for details. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 4s 2 actionable tasks: 2 executed  
asked
1 answers
0

Answer was given bij Eline in the comments, just adding this here to mark the question as answered.

answered