Session cookie not refreshing
I'm using Next.js Pages Router. Login works fine. Session gets updated on server when it's supposed to, pushing back the expiresAt. But the response headers for all the later requests don't include the session cookie, so it expires and gets removed.
I've tried calling authClient.getSession to try to manually refresh the session - returned 200 but didn't include the session cookie in the response headers either.
I'm not using the customSession plugin.
Any ideas?
3 Replies