How to handle SSR and protected pages in NextJS?

Original message was deleted