AUTH-04 — Protected Routes Redirect Unauthenticated Users
Authentication & Navigation
Admin Panel
AUTH-04 — Protected Routes Redirect Unauthenticated Users
AUTH-04 — Protected Routes Redirect Unauthenticated Users
Target
Admin Panel — Authentication & Navigation
Preconditions
- No active admin session exists
Steps
- Open a browser with no active session
- Navigate directly to /admin/dashboard
- Observe the browser behaviour
Expected Result
- The browser is redirected to the login page
- The protected page is not accessible
- No admin content is rendered before the redirect