sublinks / sublinks-frontend

MIT License
17 stars 5 forks source link

Create auth-restricted routes #149

Closed kgilles closed 3 months ago

kgilles commented 4 months ago

Certain pages should only be accessible if the user is logged in. We should use NextJS' middleware feature to prevent and redirect non-authed users from these pages.

Criteria

Side Quests These are required to make API requests from the NextJS middleware