vuejs2-authentication-tutorial icon indicating copy to clipboard operation
vuejs2-authentication-tutorial copied to clipboard

jwt malformed

Open bidva opened this issue 7 years ago • 0 comments

Hi,

I cloned and did npm install then npm run dev and also I started server by npm start I made an account in auth0 and setup everything but when page calls the private api I receive this error:

UnauthorizedError: jwt malformed
    at /Users/amirbidva/vuejs2-authentication-tutorial-master/server/node_modules/express-jwt/lib/index.js:100:22
    at /Users/amirbidva/vuejs2-authentication-tutorial-master/server/node_modules/jsonwebtoken/index.js:155:18
    at process._tickCallback (internal/process/next_tick.js:150:11)

what should be the value of issuer in server.js?

bidva avatar Mar 09 '18 00:03 bidva