From 4633de5e43e65beb99a1697f0e1cc9419ba62c83 Mon Sep 17 00:00:00 2001 From: Luca Sacchi Ricciardi Date: Tue, 7 Apr 2026 13:57:43 +0200 Subject: [PATCH] feat(auth): T19 implement user login endpoint Add POST /api/auth/login endpoint with: - UserLogin schema validation - User lookup by email - Password verification with bcrypt - JWT token generation - TokenResponse with access_token, token_type, expires_in Status: 200 OK with token on success, 401 for invalid credentials Test coverage: 4 tests for login endpoint including inactive user handling