Skip to content

[FE-46] Build /login page #917

Description

@mftee

Overview

No auth pages exist yet.

Depends on

FE-42 (API client), FE-43 (auth context), FE-45 (component library)

Acceptance Criteria

  • Email/password form using react-hook-form + zod validation (both already installed)
  • "Continue with Google" and "Continue with GitHub" buttons linking to GET /api/auth/google and GET /api/auth/github
  • On success, redirect to /dashboard (or the redirect query param set by FE-44's middleware)
  • Inline error display for invalid credentials (401) distinct from network/server errors
  • Link to /register and /forgot-password

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions