79553564

Date: 2025-04-03 17:01:46
Score: 1.5
Natty:
Report link

it was a middleware issue I added the secureCookie line and it works now : `const token = await getToken({

req: request,

secret: process.env.AUTH_SECRET,


secureCookie: process.env.NODE_ENV === "production", // Forces secure cookies in production

});`

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Zakaria Aolad Aissa