Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force kick out user in Front end when JWT token expires #231

Open
CarelS072 opened this issue Jan 30, 2019 · 0 comments
Open

Force kick out user in Front end when JWT token expires #231

CarelS072 opened this issue Jan 30, 2019 · 0 comments
Labels
bug Something isn't working client Frontend feature

Comments

@CarelS072
Copy link
Collaborator

Front end client is showing all the cards and options but not taking in any data or presenting any data

Listening on port 3000 UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19) UnauthorizedError: jwt expired at /Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:102:22 at /Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:145:16 at getSecret (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:80:14) at Object.module.exports [as verify] (/Users/carelstarreveld/Project/Final-Project/node_modules/jsonwebtoken/verify.js:84:10) at verifyToken (/Users/carelstarreveld/Project/Final-Project/node_modules/express-jwt/lib/index.js:100:13) at fn (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:746:34) at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1213:16 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:166:37 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:706:43 at /Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/Users/carelstarreveld/Project/Final-Project/node_modules/async/lib/async.js:1206:34) at processImmediate (timers.js:632:19)

@CarelS072 CarelS072 added bug Something isn't working client Frontend feature labels Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Frontend feature
Projects
None yet
Development

No branches or pull requests

1 participant