Gerhard Scheikl 6e8724c9a4 fix(auth): clear stale Supabase auth cookies on invalid session
When getUser() rejects a present session cookie with user_not_found /
session_not_found / bad_jwt (e.g. a deleted account or a cookie that
outlived its session), the middleware now clears the sb-*-auth-token
cookies and redirects to /login instead of leaving the browser wedged
in a logged-out page that still renders a Sign out button.
2026-06-01 22:01:51 +02:00
2026-05-29 17:07:00 +02:00
2026-05-29 17:07:00 +02:00
2026-05-31 10:19:06 +02:00
2026-05-29 17:07:00 +02:00
2026-05-29 17:07:00 +02:00
2026-05-29 17:07:00 +02:00
S
Description
No description provided
338 KiB
Languages
TypeScript 95.7%
CSS 3.5%
Dockerfile 0.6%
HTML 0.1%