feat(frontend): rewrite lib/auth.ts to use Auth.js instead of Supabase
Replace the Bearer-token validation via Supabase with Auth.js's auth() call. getUserFromRequest no longer takes a NextRequest argument since Auth.js reads the session cookie internally. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | juanjo/mike |
|---|---|
| Author | Juan Vidal <juan.vidal@comgy.io> |
| Authored | |
| Parents | fca7df4c |
| Stats | 1 file changed , +10 , -48 |
| 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-c3bdd90f.md
from inside the repo you want the change in.