superhero-com / superhero-wallet

Superhero Wallet – More than just a way to receive, store & send tokens on the æternity blockchain
https://wallet.superhero.com
ISC License
39 stars 38 forks source link

Can't login to superhero.chat #2975

Closed Liubov-crypto closed 5 months ago

Liubov-crypto commented 5 months ago

Describe the bug Can't login to superhero.chat

To Reproduce Steps to reproduce the behavior:

  1. Go to chat.superhero.chat
  2. Click on login with wallet
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context reproducible on commit f644ad1

Image

Image

{"nativeError":{"code":"ERR_JWS_INVALID","name":"JWSInvalid"},"name":"JWSInvalid","message":"Invalid Compact JWS","stack":[{"fullFilePath":"file:///src/node_modules/jose/dist/node/esm/jws/compact/verify.js:13:15","fileName":"verify.js","fileNameWithLine":"verify.js:13","fileColumn":"15","fileLine":"13","filePath":"/node_modules/jose/dist/node/esm/jws/compact/verify.js","filePathWithLine":"/node_modules/jose/dist/node/esm/jws/compact/verify.js:13","method":"compactVerify"},{"fullFilePath":"file:///src/node_modules/jose/dist/node/esm/jwt/verify.js:5:28","fileName":"verify.js","fileNameWithLine":"verify.js:5","fileColumn":"28","fileLine":"5","filePath":"/node_modules/jose/dist/node/esm/jwt/verify.js","filePathWithLine":"/node_modules/jose/dist/node/esm/jwt/verify.js:5","method":"jwtVerify"},{"fullFilePath":"/src/src/support/jwt.ts:23:9","fileName":"jwt.ts","fileNameWithLine":"jwt.ts:23","fileColumn":"9","fileLine":"23","filePath":"/src/support/jwt.ts","filePathWithLine":"/src/support/jwt.ts:23","method":"verifyJWT"},{"fullFilePath":"node:internal/process/task_queues:95:5","fileName":"task_queues","fileNameWithLine":"task_queues:95","fileColumn":"5","fileLine":"95","filePath":"internal/process/task_queues","filePathWithLine":"internal/process/task_queues:95","method":"process.processTicksAndRejections"},{"fullFilePath":"/src/src/routes/express.ts:176:11","fileName":"express.ts","fileNameWithLine":"express.ts:176","fileColumn":"11","fileLine":"176","filePath":"/src/routes/express.ts","filePathWithLine":"/src/routes/express.ts:176","method":""}],"_meta":{"runtime":"Nodejs","runtimeVersion":"v20.12.2","hostname":"c9629746170b","date":"2024-04-16T10:34:00.922Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"/src/src/routes/express.ts:188:15","fileName":"express.ts","fileNameWithLine":"express.ts:188","fileColumn":"15","fileLine":"188","filePath":"/src/routes/express.ts","filePathWithLine":"/src/routes/express.ts:188","method":""}}} {"nativeError":{},"name":"Error","message":"jwt signature verification error","stack":[{"fullFilePath":"/src/src/routes/express.ts:189:17","fileName":"express.ts","fileNameWithLine":"express.ts:189","fileColumn":"17","fileLine":"189","filePath":"/src/routes/express.ts","filePathWithLine":"/src/routes/express.ts:189","method":""},{"fullFilePath":"node:internal/process/task_queues:95:5","fileName":"task_queues","fileNameWithLine":"task_queues:95","fileColumn":"5","fileLine":"95","filePath":"internal/process/task_queues","filePathWithLine":"internal/process/task_queues:95","method":"process.processTicksAndRejections"}],"_meta":{"runtime":"Nodejs","runtimeVersion":"v20.12.2","hostname":"c9629746170b","date":"2024-04-16T10:34:00.924Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"/src/src/support/ejs.ts:71:7","fileName":"ejs.ts","fileNameWithLine":"ejs.ts:71","fileColumn":"7","fileLine":"71","filePath":"/src/support/ejs.ts","filePathWithLine":"/src/support/ejs.ts:71","method":"renderError"}}}

thepiwo commented 5 months ago

its a fault in the oidc provider, will track it here: https://github.com/superhero-com/oidc-provider/issues/24#event-12487712944