my problem is: i have this app, it was running just fine on production, it was like 1 month since my last commit on the project (just saying that to specify that it was working just fine).
the problem is: i do the login normally, it redirects to /home page. on the home page im trying to go to the /members page
there i have
const session = await getSession(context)
if (!session) {
return {
redirect: {
destination: '/login',
permanent: false
}
}
}
the problem is on this session, i'm getting NULL on it, so redirect to /login again.
yes i have checked on cookis already and my session/token is on there..