buildmymcpserver/apps
Marco Sadjadi 1cccdbdff1
All checks were successful
Deploy to Production / deploy (push) Successful in 53s
fix(auth): logout actually clears the session cookie in Chrome
The clearCookie call on /v1/auth/logout was passing only {path:'/'},
missing the httpOnly + sameSite + secure flags the setCookie used. In
production (secure=true), Chrome treats a Set-Cookie clear directive
without Secure as a *different* cookie — it creates an empty insecure
cookie and leaves the original Secure session cookie in place. Result:
users who clicked "Sign out" stayed logged in for the full 30-day
session lifetime in the browser's view (DB session was destroyed
correctly; only the cookie persisted).

Now both setCookie and clearCookie pull from sessionCookieOpts() so
the attributes can't drift apart again.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 21:14:12 +02:00
..
api fix(auth): logout actually clears the session cookie in Chrome 2026-05-25 21:14:12 +02:00
generator security: sovereign-audit Phase 2 fixes — trustProxy, Docker hardening, banned-pattern overhaul 2026-05-25 18:02:59 +02:00
runner-template fix(docker): healthcheck must hit 127.0.0.1, not localhost 2026-05-21 18:07:01 +02:00
web fix(web): single Login/Dashboard button on marketing header 2026-05-25 19:30:27 +02:00