DEV Community

Discussion on: Protected Routes with Supabase and Next.js

Collapse
 
shar51 profile image
A. Ashar

Thanks,

I would definitely check out the video.

Thread Thread
 
sannajammeh profile image
Sanna Jammeh

NextJS edge middleware gives you this functionality. All authorization happens in the middleware and your page static renders as usual with getStaticProps. The middleware can prevent access to the static page.