I\'m trying to figure out an appropriate way of doing authentication, which I know is a touchy subject on the GitHub issue page.
My authentication is simple. I store a
Tim from the next chat helped me solve this. Solution can be found here but I will quote him so you all can see:
_app.js
getInitialProps
and redirect like thisI've also created an example skeleton template you can take a look at.