KB Article #181105

JWT filter fails after a migration to 77: java exception: java.lang.IllegalArgumentException: The key type to parse must not be null

Problem

JWT filter fails after a migration to 77

INFO 28/04/2020 10:24:37.142 IDP :OKTA recette
ERROR 28/04/2020 10:24:37.142 java exception:
java.lang.IllegalArgumentException: The key type to parse must not be null
at com.nimbusds.jose.jwk.KeyType.parse(KeyType.java:204)
at com.nimbusds.jose.jwk.JWK.parse(JWK.java:564)
at com.nimbusds.jose.jwk.JWK.parse(JWK.java:544)
at com.vordel.circuit.jwt.nimbus.NimbusJWTVerifier.tryJwk(NimbusJWTVerifier.java:140)
at

Resolution

Fix delivered in May 2020 version

https://docs.axway.com/bundle/axway-open-docs/page/docs/apim_relnotes/20200530_apimgr_relnotes/index.html

RDAPI-1957301156521 01143940Issue: Upgrade of Nimbus JWT library to version 8.5 caused the JWT Verify filter to stop working when verifying JWT sets. Resolution: JWT Verify filter is compatible with Nimbus JWT 8.5 and properly verifies JWT sets.