Provide an example of how to process and verify POST-as-GET JWS with payload set to empty string

Issue #191 new
Rafał Rzepka created an issue

During decoding POST-as-GET JWS sent from ACME client (RFC 8555 section 6.3) I have an error:

Exception in thread "main" org.jose4j.jwt.consumer.InvalidJwtException: Unable to parse what was expected to be the JWT Claim Set JSON: "" Additional details: [[16] Invalid JSON.]
at org.jose4j.jwt.JwtClaims.<init>(JwtClaims.java:56)

Do you have any advice how such message with empty paylod should be processed?

Comments (1)

  1. Log in to comment