WIP: frontend: add login page and auth guard #4

Draft
restitux wants to merge 1 commits from auth/4-frontend-login into auth/3-stream-proxy-token
Owner

Add authentication flow to the frontend:

  • authStore with token management (localStorage persistence)
  • Login page with username/password form at /login
  • Layout-level auth guard that redirects to /login when no valid
    session exists, validates token on load via GET /api/auth/me
  • Top navigation bar showing username and admin link when applicable

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Add authentication flow to the frontend: - authStore with token management (localStorage persistence) - Login page with username/password form at /login - Layout-level auth guard that redirects to /login when no valid session exists, validates token on load via GET /api/auth/me - Top navigation bar showing username and admin link when applicable Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
restitux added 1 commit 2026-04-16 15:43:16 +00:00
Add authentication flow to the frontend:
- authStore with token management (localStorage persistence)
- Login page with username/password form at /login
- Layout-level auth guard that redirects to /login when no valid
  session exists, validates token on load via GET /api/auth/me
- Top navigation bar showing username and admin link when applicable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
restitux force-pushed auth/4-frontend-login from 917acfdb27 to af9359bbdf 2026-04-16 15:43:16 +00:00 Compare
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin auth/4-frontend-login:auth/4-frontend-login
git checkout auth/4-frontend-login
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: restitux/gamestream-webtransport-proxy#4