feat(frontend): drop Supabase auth from hooks (use cookie credentials)
Replace supabase.auth.getSession()+Bearer header pattern with credentials:"include" across useFetchSingleDoc, useFetchDocxBytes, and useDocumentVersions. Switch absolute NEXT_PUBLIC_API_BASE_URL URLs to relative /api/backend/* so the Next.js rewrite forwards the Auth.js session cookie automatically. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | juanjo/mike |
|---|---|
| Author | Juan Vidal <juan.vidal@comgy.io> |
| Authored | |
| Parents | bdb80c46 |
| Stats | 4 files changed , +6 , -77 |
| Part of | Frontend Supabase auth removal - switch to cookie credentials and backend API |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-dde61d26.md
from inside the repo you want the change in.