Delicious Server Component Cookies // Auth in the Next.js app directory
From the video description
Supabase makes auth easy™️ by storing session data in localStorage. Unfortunately, localStorage is not available on the server. If we want to use those fancy new app directory Server Components, we need to configure Supabase Auth to use cookies! 🍪 In this video, Jon Meyers demonstrates building a Next.js application from scratch, sharing session information across both Client and Server Components. Additionally, he gives an overview of Row Level Security (RLS) policies and how to ensure that only authenticated users can query data from Supabase.
Topics
Sources
Video by Supabase, played through YouTube.
- Indie Picks
Data and selection notes
Indie Picks uses video metadata for classification. The description above is an uploader excerpt, not an independent review.
Indie Picks: Independently collected SaaS and AI product videos, organized by a founder handbook. Topics and relevance are metadata-indexed; full-video editorial review has not been completed. Descriptions are uploader excerpts where available.
Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.
Selection checks
- SaaS & AI candidates: Matches the configured criteria
- Editor-approved picks: Editorial review is required