- changed status to resolved
CompactSerializer.deserialize not working
Issue #130
wontfix
My JWT clearly has two dots in it, but when I run it through the process method which calls the deserialize method, I get the following error: JWT processing failed. Additional details: [[17] Unable to process nested JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.):
I tested using abcdef.ghijlm.nopqrs, and ran it through with some debugging, and all that came back in the parts result was: abcdef, when it should have been {abcdef, ghijlm, nopqrs}
I'm running 0.6.4 on Java 8
Comments (2)
-
Account Deleted reporter -
Account Deleted reporter - changed status to wontfix
- Log in to comment
this is due to setting cty in the header as JWT, the doc are a bit misleading... I am creating a JWT, but not an enclosed one...