import { cookies } from 'next/headers'; export default async function TestPage() { const cookieStore = await cookies(); const authToken = cookieStore.get('auth-token'); return (
Auth Token Cookie:
{authToken ? (✓ Cookie found!
{authToken.value.substring(0, 100)}...
✗ No cookie found
)}