Next.js SSR: intermittent JWT token expired errors
Intermittent 'JWT token expired' errors in Next.js SSR (both client and server, with getNhostSession) were an SDK bug in the token refresh path, already fixed upstream. Upgrade your Nhost JS SDKs (@nhost/nextjs, @nhost/react) to the release containing the fix. If you're pinned to an old version and see random auth expiry under SSR, update first before debugging your session code.
_Source: gh:nhost/nhost#2348 (Nhost)_