ma-anwar / blind75-dashboard

A dashboard to monitor progress and completion of the blind75 leetcode questions
0 stars 0 forks source link

Debug Auth #39

Open ma-anwar opened 3 years ago

ma-anwar commented 3 years ago

Auth looping back to unauthenticated state on some machines

ma-anwar commented 3 years ago

Working around silent access token retrieval by using pop up, remains to be implemented for the future

ma-anwar commented 3 years ago

TODO: Implement getAccessTokenSilently

mh-anwar commented 3 years ago
GET /api/v1/user/ 401 0.586 ms - 1478     
UnauthorizedError: jwt malformed
    at C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\express-jwt\lib\index.js:105:22      
    at Object.module.exports [as verify] (C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\jsonwebtoken\verify.js:63:12)
    at verifyToken (C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\express-jwt\lib\index.js:103:13)
    at fn (C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:746:34)       
    at C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:1213:16
    at C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:166:37
    at C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:706:43
    at C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:167:37
    at Immediate.<anonymous> (C:\Users\Huds\Documents\Projects\testblind\blind75-dashboard\backend\node_modules\async\lib\async.js:1206:34)
    at processImmediate (internal/timers.js:461:21)