Next.js Discord

Discord Forum

Protect Pages/API

Unanswered
alfie posted this in #help-forum
Open in Discord
using nextjs how can i make it so all pages & api endpoints cant be accessed without auth (excluding /, /login, /register)
have sessions and jwts

2 Replies