auth0-blog / vuejs2-authentication-tutorial

144 stars 73 forks source link

jwt malformed #8

Open bidva opened 6 years ago

bidva commented 6 years ago

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?