t3 getServerSideProps returns
After adding
To my Layout component, I get following error:
Currently I have no idea why that error occurs
1 Reply
Basically tried to implement this: https://next-auth.js.org/tutorials/securing-pages-and-api-routes#server-side
Securing pages and API routes | NextAuth.js
You can easily protect client and server side rendered pages and API routes with NextAuth.js.