79285267

Date: 2024-12-16 15:54:56
Score: 2.5
Natty:
Report link

If httpOnly is set to true, you cannot access the cookie from the frontend (client-side).

cookies().set(USER_ID, user_id, { domain: process.env.DOMAIN, path: "/", secure: true, httpOnly: false, sameSite: "none", maxAge: 60 * 60 * 24 * 7 })

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sharvari