Category

nextjs-supabase

Explore our curated collection of articles, insights, and stories about nextjs-supabase.

5 Articles
Missing Suspense boundary with useSearchParams in Next.js: 3 fixes
nextjs-supabase
6 min read·2026-06-27

Missing Suspense boundary with useSearchParams in Next.js: 3 fixes

The error only surfaces during the production build — dev mode hides it completely. Here is why, and the three fixes ranked by situation.

Read more
Fix: Next.js proxy.js matcher not working for static assets
nextjs-supabase
7 min read·2026-06-27

Fix: Next.js proxy.js matcher not working for static assets

Without a matcher, proxy.js runs on every request including _next/static and public assets. And Server Functions are not separate routes — a matcher gap silently drops auth coverage.

Read more
Supabase getClaims() vs getSession(): The Silent Auth Bug
nextjs-supabase
7 min read·2026-06-27

Supabase getClaims() vs getSession(): The Silent Auth Bug

Your auth looks correct but users can bypass it. The bug: getSession() in server code reads from local storage without revalidating the token against the Auth server.

Read more
Supabase redirectTo Failing on Vercel Previews: SITE_URL Fix
nextjs-supabase
6 min read·2026-06-27

Supabase redirectTo Failing on Vercel Previews: SITE_URL Fix

The redirect lands on your production domain instead of the preview URL, or you get a "redirect URL not allowed" error. Here is the exact Supabase dashboard config and the Vercel env var pattern.

Read more
How to set the next/image component to 100% height
nextjs-supabase
7 min read·2026-06-14

How to set the next/image component to 100% height

If your <Image / component ignores height: 100% and appears too small or misaligned, the issue is almost always that the parent container lacks an explicit

Read more