I have a project that works fine locally, but when published to Vercel, it automatically logs me out (even without middleware/proxy). Login with signInWithPassword on Vercel (HTTPS) Automatic log out after 2-3 seconds cookie sb-auth-token created but with an empty value Works perfectly on localhost @supabase/ssr 0.10.2 sbpublis key
The user reports an issue where their project logs out automatically when deployed to Vercel, despite working fine locally. They use the 'signInWithPassword' method, and notice that the 'sb-auth-token' cookie is created with an empty value. The issue is suspected to be client-side.
What are you seeing inside of the auth logs https://supabase.com/dashboard/project/_/logs/auth-logs or api gateway, are you calling the sign out method?
If you can't see it there, it probably means it is a client side issue.