-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Copy link
Description
🔍 Issue Description:
- This issue is created to implement the
/api/login/
endpoint that allows users to authenticate using their email and password. The endpoint also validates that the user account is active before issuing an authentication token.
📌 Subtasks:
- Created LoginSerializer for handling email/password authentication
- Created /api/login/ view using APIView
- Integrated token generation using Django REST Framework's
TokenAuthentication
- Documented endpoint usage for frontend team
- Manually tested login with valid, invalid, and inactive user scenarios
📌 Expected effort:
- 3 hours
📌 Deadline:
- 02-05-2025
📌 Reviewers:
📌 Reviewer Deadline:
- 03-05-2025
⚡ Footer
✅ This issue follows the issue template rules to maintain consistency.
✅ The assignee(s) ensure this issue is clear, structured, and meets all must-have criteria.
✅ Open to feedback & improvements, because even the best code can get better!
💡 And remember: "It works on my machine" doesn’t mean it works for everyone, and "It’s not a bug, it’s a feature" only works if everyone agrees!
Metadata
Metadata
Assignees
Labels
No labels