api/auth/get-session returns null in prod but works locally

hi, my backend is made with express/node.js and my frontend with nextjs but the get-session api returns null in production whereas everything works perfectly locally.
Was this page helpful?