Skip to content

Wire admin authentication middleware into admin routes #446

@hman38705

Description

@hman38705

Issue 001: Wire admin authentication middleware into admin routes

Area: Backend
Priority: Critical
Files: services/api/src/main.rs, services/api/src/security.rs

Problem

Admin routes are labeled as protected but no API key middleware is attached. Any caller can access admin endpoints without authentication.

Acceptance Criteria

  • x-api-key header is required for all admin endpoints\n- Invalid or missing key returns 401 Unauthorized\n- Tests cover authorized and unauthorized calls\n- Middleware is applied before route handlers execute

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions