Got feedback on Next.js pull request and fixed last issues, awesome! https://github.com/zeit/next.js/pull/10973 I hope this will help people setup the right session cookie based setup with Next.js