auth0-extensions / auth0-authentication-api-debugger-extension

MIT License
5 stars 14 forks source link

Getting error "TypeError: Cannot read property 'iss' of undefined" #46

Closed roblframpton closed 3 years ago

roblframpton commented 3 years ago

A few days ago I used the extension to generate some tokens. Today I have reopened the extension and I get the following error message:

TypeError: Cannot read property 'iss' of undefined
   at secretCallback (/data/_verquire/_node12/auth0-source-control-extension-tools/3.0.9/node_modules/auth0-api-jwt-rsa-validation/index.js:26:28)
   at /data/_verquire/_node12/auth0-oauth2-express/1.2.0/node_modules/auth0-oauth2-express/index.js:174:20
   at Layer.handle [as handle_request] (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/layer.js:95:5)
   at next (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/route.js:137:13)
   at noop (/data/_verquire/_node12/auth0-oauth2-express/1.2.0/node_modules/auth0-oauth2-express/index.js:69:57)
   at Layer.handle [as handle_request] (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/layer.js:95:5)
   at next (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/route.js:137:13)
   at Route.dispatch (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/layer.js:95:5)
   at /data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:281:22
   at Function.process_params (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:335:12)
   at next (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:275:10)
   at middleware (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express-jwt/lib/index.js:82:16)
   at /data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express-unless/index.js:47:5
   at Layer.handle [as handle_request] (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/layer.js:95:5)
   at trim_prefix (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:317:13)
   at /data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:284:7
   at Function.process_params (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:335:12)
   at next (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:275:10)
   at urlencodedParser (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/body-parser/lib/types/urlencoded.js:82:7)
   at Layer.handle [as handle_request] (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/layer.js:95:5)
   at trim_prefix (/data/_verquire/_node12/auth0-extension-express-tools/1.0.2/node_modules/express/lib/router/index.js:317:13) 

This is a full-page error, so there there is no UI I can use to rectify this. I also tried remoing and reinstalling the plugin, which did not help. However, opening a private browsing window did fix the issue, so I think it must be based on some local storage state.

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?