Commit bb39fd5
Add missing Next.js middleware to wire up Supabase auth session handling
The updateSession helper existed in src/lib/supabase/middleware.ts but was
never connected to Next.js. Without this file, auth cookies were not refreshed
on navigation, causing authenticated users to be redirected back to the landing
page after login.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6e9fa38 commit bb39fd5
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments