Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Optional authentication on pages #8

@NathanPB

Description

@NathanPB

Currently, we are not using all the potential of NextJS because on the server side render, the authentication is not set, and all the pages requires authentication (if not authenticated you will be redirected to the login screen at any point).

This makes SSR and SG completely unusable because the server is actually rendering just the login screen.

Along with #6 which introduces the concept of making data public, we will be able to make routes that does not require authentication. Instead, renders the "public version" of the page when not authenticated and do not perform weirdo redirects.

However, pages like /me will need authentication anyway...

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions