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?
Thanks for the help. I tried the fix and also the new version v2022.4.1. But unfortunately, the same problem still occurs. The last working version is v2021.11.2
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["oidc: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
Do you have any idea what could be the cause of the problem?