getInitialProps and getStaticProps regarding authentication
#34334
Labels
getInitialProps and getStaticProps regarding authentication
#34334
What is the improvement or update you wish to see?
Given a developer is using both
getInitialPropsin a custom_appcombined with agetStaticPropsandrevalidateon a page, we should inform the developer to make sure they don't accidentally cache sensitive information.Is there any context that might help us understand?
See a more detailed answer giving an example with NextAuth.js and how to solve the issue instead.
#34316 (comment)
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/authentication
The text was updated successfully, but these errors were encountered: