import { cookies } from 'next/headers'; export default async function TestPage() { const cookieStore = await cookies(); const authToken = cookieStore.get('auth-token'); return (

Cookie Test Page

Auth Token Cookie:

{authToken ? (

✓ Cookie found!

{authToken.value.substring(0, 100)}...

) : (

✗ No cookie found

)}
); }