Below is my cookie cofiguration. which shows how i tried setting cookie in response .
res.cookie(config.COOKIE_NAME, token, { httpOnly: true, dom