DEV Community

Discussion on: Server Side Authentication with NextJS and Firebase

Collapse
 
atlanteavila profile image
Atlante Avila

Am I reading this correctly, or would this require authorization for every single page in the app? How would I then differentiate from the pages that require auth vs the ones that don't? For instance, log in or home page don't require auth, but user's profile does, how do you then redirect away from the authenticated pages?