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