seerr/server
Lauris f389909a23 fix(auth): sign session cookie store with sessionSecret, not clientId
cookie-parser was initialized with settings.clientId (the Plex client
UUID), but express-session signs connect.sid with settings.sessionSecret.
The secrets differ, so cookie-parser's signature check on connect.sid
fails, the cookie is dropped from req.cookies, and the OpenAPI validator
rejects every authenticated request with "cookie 'connect.sid' required"
even though the browser is sending it correctly.

This also matches the signing secret used by the OIDC code-verifier and
state cookies that are stored via res.cookie(..., {signed: true}), which
read back through req.signedCookies during the callback.
2026-06-29 15:49:40 -04:00
..
api fix(proxy): proxy clients built before proxy init (#3196) 2026-06-25 01:49:58 +02:00
constants feat: support login with OpenID Connect 2026-06-29 15:49:39 -04:00
entity fix: only count active OIDC providers as a fallback sign-in method 2026-06-29 15:49:40 -04:00
i18n fix(i18n): fallback to server locale for "Default" user lang in notifs (#3190) 2026-06-23 17:07:34 +08:00
interfaces/api feat: support linking OpenID Connect accounts to users 2026-06-29 15:49:39 -04:00
job feat(settings): add blocklist region and language options (#1802) 2026-04-15 16:42:52 +08:00
lib test(auth): add tests for OpenID Connect endpoints 2026-06-29 15:49:39 -04:00
middleware refactor: rename blacklist to blocklist (#2157) 2026-02-14 14:31:45 +01:00
migration fix: add indexes and constraints for linked accounts 2026-06-29 15:49:39 -04:00
models chore(deps): upgrade prettier, and tailwind (#2351) 2026-01-29 07:48:34 +01:00
repositories feat(add watchlist): adding midding functionality from overserr 2023-04-27 22:27:23 +07:00
routes fix: explicitly set sameSite: strict for OIDC correlation cookies 2026-06-29 15:49:40 -04:00
scripts test: support server-side unit testing (#2485) 2026-03-12 18:39:41 +05:00
subscriber fix(request): restore media status correctly when deleting requests (#3064) 2026-05-25 22:31:03 +02:00
templates/email feat(notification): add support for public seerr logo in email (#3036) 2026-05-18 11:21:25 +02:00
test test: ensure test runner does not hang 2026-06-29 15:49:40 -04:00
types chore(deps): update dependency express to v5 (#2963) 2026-05-08 10:39:33 +02:00
utils fix(proxy): proxy clients built before proxy init (#3196) 2026-06-25 01:49:58 +02:00
datasource.ts feat(db): add DB_POOL_SIZE environment variable for postgres connection pool (#2990) 2026-05-07 22:11:36 +02:00
index.ts fix(auth): sign session cookie store with sessionSecret, not clientId 2026-06-29 15:49:40 -04:00
logger.ts chore(deps): upgrade dependencies (#2874) 2026-04-24 18:04:15 +02:00
tsconfig.json chore(deps): update dependency Next.js to v16 (#3003) 2026-05-13 18:54:35 +02:00