Example in README.md #162
satoutanaka
started this conversation in
General
Replies: 1 comment 3 replies
-
I'm not sure I understand your question. It's expected that server-side props are available in the DOM (e.g., see vercel/next.js#15117). The same would be true of any props added with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for creating great project.
In this example, getServerSideProps returns secret data only login user .
getFirebaseAdmin() => FirebaseAdmin
But, If you redirect to login page, you can see secret data in __NEXT_DATA__ by using Chrome developer tools.
You can avoid this problem by using withAuthUserTokenSSR.
What are your thoughts on that?
Beta Was this translation helpful? Give feedback.
All reactions