From 4d30f46d4691c9aead411b893b1ab279b05d439c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Dec 2025 05:54:50 +0900 Subject: feat(auth): add auth middleware for JWT validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add middleware that validates JWT tokens from Authorization header and sets authenticated user in request context. Includes helper function getAuthUser() to retrieve user from context with proper error handling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/dev/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev/roadmap.md') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 17bac7d..27e44de 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -30,7 +30,7 @@ - [x] User registration endpoint - [x] Login endpoint (JWT) - [x] Refresh token endpoint -- [ ] Auth middleware +- [x] Auth middleware - [ ] Add tests ### Refactoring -- cgit v1.2.3-70-g09d2