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 })