I have an express server that sets a token on a cookie like so
res.cookie("jid", token, { httpOnly: true, expires: new Date(Date.now() + 100