Lesson · Intermediate · 25 min
Protecting routes
Session checks on the server, redirects, and why client-side guards are not protection.
- nextjs
- react
- lesson
Inside this lesson
- You will: Check the session in layouts and actions
- You will: Redirect signed-out users on the server
- Sections
- 3
- Exercise
- Yes
The full lesson opens with a membership that covers Next.js.
Sign in if you already subscribe.
Sign in
