AUTH-04 — Protected Routes Redirect Unauthenticated Users

Authentication & Navigation
Admin Panel
AUTH-04 — Protected Routes Redirect Unauthenticated Users
Published

2026-06-17

AUTH-04 — Protected Routes Redirect Unauthenticated Users

Target

Admin Panel — Authentication & Navigation

Preconditions

  • No active admin session exists

Steps

  1. Open a browser with no active session
  2. Navigate directly to /admin/dashboard
  3. 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