docs(backend/auth): mark authorization task as complete

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Lasse Rune Hansen 2026-06-05 15:05:05 +02:00
parent 3c33253cba
commit 91f5c34602

View file

@ -120,6 +120,7 @@ CREATE TABLE Users (
- [x] Create AuthController with endpoints
- [x] Add JWT authentication middleware
- [x] Configure CORS for frontend
- [x] Add [Authorize] to protected endpoints
### Phase 2: Database Integration (1-2 hours)
- [x] Update User entity to match schema
@ -163,7 +164,7 @@ CREATE TABLE Users (
- [x] Create Services/AuthService.cs
- [x] Create Controllers/AuthController.cs
- [x] Configure JWT in Program.cs
- [ ] Add [Authorize] attribute to protected endpoints
- [x] Add [Authorize] attribute to protected endpoints (LessonsEndpoints)
- [ ] Create AuthMiddleware.cs
- [x] Configure CORS policy
- [ ] Write unit tests for AuthService