I have the following code in express middleware...
const cert = req.cookies.Thing
console.log(` cookie is`, cert);
console.log("We got a cookie! "+ cert.property_a);
but the console shows...
cookie is {"property_a":"blah","scope":"thing"}
We got a cookie! undefined
If it is there, why can't I access the property? I even tried the JSON.parse(JSON.stringify) hack but no luck.