From 91f5c3460219128564639672955d5e20d50da8f8 Mon Sep 17 00:00:00 2001 From: Lasse Rune Hansen Date: Fri, 5 Jun 2026 15:05:05 +0200 Subject: [PATCH] docs(backend/auth): mark authorization task as complete Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- docs/features/user-authentication.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features/user-authentication.md b/docs/features/user-authentication.md index c85d54c..f311ce3 100644 --- a/docs/features/user-authentication.md +++ b/docs/features/user-authentication.md @@ -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