From Dev.to
Next.js + Supabase Auth Cookies: 6 Checks That Stop Silent Logouts
AI-scaffolded Next.js apps often work on localhost and then log users out on the first production visit. The UI looks fine. The session is gone. Nine times out of ten the bug is cookie config, middlew...
