am having a strange issue. On Directus v11.8.0 running on node 22.14.0, using directusSDK.
Some users are getting logged out every few min and some are not. There is no errors in console and on the backend i only get a trace and debug:
[14:09:19.656] TRACE: [1.022ms] select 1 from "directus_sessions" where "token" = $1 and "user" = $2 and "share" is null and "expires" >= $3 limit $4 [DuyJLpwTLMAI5lT2CCXWd1APK_8nsfkbVJEA53mSzy4MQzpiM4XRArkFLP1fyQXb, b81bec42-c7f2-4f62-a896-a69d82045ae9, Mon Jun 09 2025 14:09:19 GMT+0100 (British Summer Time), 1]
0|npm | [14:09:19.659] DEBUG: Invalid user credentials.
0|npm | err: {
0|npm | "type": "",
0|npm | "message": "Invalid user credentials.",
0|npm | "stack":
0|npm | DirectusError: Invalid user credentials.
0|npm | at verifySessionJWT (file:///home/appproenviro/webroot/app/node_modules/@directus/api/dist/utils/verify-session-jwt.js:21:15)
0|npm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
0|npm | at async getAccountabilityForToken (file:///home/appproenviro/webroot/app/node_modules/@directus/api/dist/utils/get-accountability-for-token.js:20:17)
0|npm | at async handler (file:///home/appproenviro/webroot/app/node_modules/@directus/api/dist/middleware/authenticate.js:36:30)
0|npm | "name": "DirectusError",
0|npm | "code": "INVALID_CREDENTIALS",
0|npm | "status": 401
0|npm | }
Any help will be greatly appreciated