You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 91e03ba
Browse filesBrowse the repository at this point in the historyBrowse files
Derive the Supabase auth cookie name from NEXT_PUBLIC_SUPABASE_URL (#261)
Five API routes read the session cookie by its cloud-derived name
sb-xydzwxwsbgmznthiiscl-auth-token. supabase-js names it after the first
host label of the project URL, so once the project lives at
supabase.qrypt.chat the cookie is sb-supabase-auth-token and those routes
would treat every user as logged out. Compute it from the URL instead.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments