| Example task file (tasks/example-task-file.md): |
| |
| --- |
| id: task-1704067200-abc123 |
| title: Implement user authentication |
| description: Add login/logout functionality with JWT tokens |
| owner_id: john.doe |
| owner_name: John Doe |
| status: in_progress |
| priority: high |
| created_at: 2024-01-01T10:00:00Z |
| updated_at: 2024-01-01T15:30:00Z |
| due_date: 2024-01-08T17:00:00Z |
| completed_at: null |
| archived_at: null |
| --- |
| |
| # Task Description |
| |
| Add login/logout functionality with JWT tokens for the web application. |
| |
| ## Requirements |
| |
| - User registration and login forms |
| - JWT token generation and validation |
| - Password hashing with bcrypt |
| - Session management |
| - Logout functionality |
| |
| ## Notes |
| |
| - Consider using bcrypt for password hashing |
| - Implement refresh token mechanism |
| - Add rate limiting for login attempts |