Version 2021.12.1 broke our token-service

We currently run jitsi-meet-tokens and have build a middleware that authorizes the Users to use our jitsi-meet-domain. Since Version 2021.12.1 we have the issue that we cannot login anymore.

did not find expected authorization request details in session, req.session["oidc:xxx"] is undefined
Error: did not find expected authorization request details in session, req.session["xxx] is undefined
    at /app/node_modules/openid-client/lib/passport_strategy.js:126:13
    at OpenIDConnectStrategy.authenticate (/app/node_modules/openid-client/lib/passport_strategy.js:174:5)
    at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:366:16)
    at authenticate (/app/node_modules/passport/lib/middleware/authenticate.js:367:7)
    at /app/app.js:78:15
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at next (/app/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at /app/node_modules/express/lib/router/index.js:281:22

Any ideas what changed in the app, that could break it?

All the best and thanks already for any replies :slight_smile:

Doesn’t seem to be the issue. It’s something that changed in the app. Our jitsi is running fine.

Try wiping the application data, we saw some inexplicable issues when moving to Electron 16 alas, even though there were no code changes.

Application data of the app you mean?


I am using the appimage. Can you point me to the place where it is stored on linux and windows. Couldn’t find it on my own.

Try these:

%APPDATA% on Windows
$XDG_CONFIG_HOME or ~/.config on Linux
~/Library/Application Support on macOS

Thanks for the help. Apparently it didn’t solve the issue. We will have to fix our middleware.

Not sure how an update could’ve caused that kind of breakage though.