worker not returning jwt payload
I am trying to use
jose
library to verify jwt in workers but it seems like I am just getting a 200 without any data in the response. I am unsure what's going on. parsedJwt.payload
is serializable and it should go in the error catch block if it errors out. So I am unsure why am I not getting any data in the response but the status code is set correctly to 200
1 Reply
it's acting v.weird, if i manually thow an error in the try block, it gets caught in the catch block but again, no body in response but only status block. any clue what could be going on?
OK. This is MAD. I am able to get the response when I use curl by using "copy request as curl" from browser network tab in firefox, but in the browser network response tab is empty
let me try with chrome and see if its a ff issue