Update suggested ways of securing pages and API routes #3973
Labels
documentation
Relates to documentation
good first issue
Good issue to take for first time contributors


In vercel/next.js#34316 (comment) I concluded that
getInitialPropsreally does not play well with our auth model. There are simply much better solutions for this now.We should discourage the usage of it entirely.
https://next-auth.js.org/tutorials/securing-pages-and-api-routes should be updated to also mention Middleware support and finally decide how and where we should document
getServerSession(#1535)The text was updated successfully, but these errors were encountered: