Deepak Pathak
08/19/2019, 3:41 AMjsonwebtoken npm package. It works fine for generation, but when in another mutation, I pass the token as an HTTP Header - Authorization key as Bearer <<token>>, it fails in a call to jwt.verify().
Error I get is - JsonWebTokenError: invalid token at Object.module.exports [as verify]
Any ideas ?Deepak Pathak
08/19/2019, 6:57 AMjwt.verify() method and it worked fine.
Seems like some issue with GraphQL Playground ?Deepak Pathak
08/19/2019, 7:06 AM