Browser not seeing cookie from pages api endpoint
Unanswered
Cuban Martin posted this in #help-forum
Cuban MartinOP
I have a signup api endpoint that creates a new user, then sends the jwt token as a cookie. I'm using NextApiResponse ( pages directory), then using res.setHeader('Set-cookie', serialized(data) ... ). The client gets the response but the cookie is not showing up in the browser.