Next.js Discord

Discord Forum

Authenticating entire app router directory

Answered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
Is it possible to authenticate an entire app router directory? (e.g. app/(admin)/)
What's the idiomatic way of doing this with next?
Answered by Giant panda
middleware
View full answer

2 Replies

Giant panda
middleware
Answer
TonkineseOP
perfect, thanks