Closed
Description
When using a string as payload, the issuer, expiration, audience and subject are lost. It is not possible to attach properties to a primitive and also they do not get serialized anyway, as it get serialized as a string. A possible solution is to put the string in a object literal and attach this data to the literal too.
At the moment, using a string as payload also causes a parsing exception when decoding it due to a problem in the node-jws library.
Metadata
Metadata
Assignees
Labels
No labels