Closed ziwenzhao closed 4 years ago
@ziwenzhao When I created the module , I used npm
's jws
to decode the string server side.
const jws = require('jws');
let decodedJSON = jws.decode(req.body.jws);
Let me check if something has changed. Cheers !
Thanks a lot! JWS.decode() works very well. Thank you for your response.
Nice to hear that ! I will close the issue :)
The attest function gives back a response of long encoded string (which cannot be decoded by base64) instead of a jws result as expected.