peertube-plugin-auth-openid-connect: jwt expires on login
I updated my peertube to 5.2.1. Then my openid plugin did not work. It produced an error (could not show the /about page). Updating the plugin did not work too... so i de- and reinstalled it. This worked.
But now i can not login via openid any more. I run my own keycloak-instance and i get this error in peertube-log
Sep 11 08:16:14 tube peertube[300504]: [kino.schuerz.at:443 peertube-plugin-auth-openid-connect] 2023-09-11 08:16:14.752 error: Error in handle callback. {
Sep 11 08:16:14 tube peertube[300504]: "err": {
Sep 11 08:16:14 tube peertube[300504]: "stack": "RPError: JWT expired, now 1694412974, exp 1694412972\n at Client.validateJWT (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/client.js:956:15)\n at Client.validateIdToken (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/client.js:745:60)\n at Client.callback (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/client.js:488:18)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async handleCb (/var/www/peertube/storage/plugins/node_modules/peertube-plugin-auth-openid-connect/main.js:270:22)",
Sep 11 08:16:14 tube peertube[300504]: "message": "JWT expired, now 1694412974, exp 1694412972",
Sep 11 08:16:14 tube peertube[300504]: "now": 1694412974,
Sep 11 08:16:14 tube peertube[300504]: "tolerance": 0,
Sep 11 08:16:14 tube peertube[300504]: "exp": 1694412972,
Sep 11 08:16:14 tube peertube[300504]: "jwt": "aVeryLong.....JWT",
Sep 11 08:16:14 tube peertube[300504]: "name": "RPError"
Sep 11 08:16:14 tube peertube[300504]: }
Sep 11 08:16:14 tube peertube[300504]: }
The exp-timestamp is on each login-try the same or 1-2 seconds before "now"-timestamp in the "message"-field.
This is a blocker!