skillhub/server
vsxd 6380677fcf feat(auth): complete Chunk 2 - security config, controllers, mock auth
Task 14: Spring Security config
- SecurityConfig with OAuth2 login, CSRF Cookie-to-Header, CLI API exempt
- ApiTokenAuthenticationFilter before UsernamePasswordAuthenticationFilter
- Spring Session Redis + OAuth2 client config in application.yml

Task 15: MockAuthFilter
- @Profile("local") filter reads X-Mock-User-Id header
- Creates PlatformPrincipal and sets SecurityContext for local dev

Task 16: AuthController + TokenController
- GET /api/v1/auth/me: current user info from session
- GET /api/v1/auth/providers: available OAuth providers
- POST/GET/DELETE /api/v1/tokens: create, list, revoke API tokens

Task 17: Enhanced GlobalExceptionHandler
- ErrorResponse with requestId and timestamp
- 400 for IllegalArgumentException, 500 catch-all with MDC requestId
2026-03-11 23:55:15 +08:00
..
.mvn/wrapper feat: initialize Maven multi-module project structure 2026-03-11 22:52:04 +08:00
skillhub-app feat(auth): complete Chunk 2 - security config, controllers, mock auth 2026-03-11 23:55:15 +08:00
skillhub-auth feat(auth): complete Chunk 2 - security config, controllers, mock auth 2026-03-11 23:55:15 +08:00
skillhub-domain feat(domain/infra/auth): add domain entities, JPA repos, and auth entities 2026-03-11 23:42:53 +08:00
skillhub-infra feat(domain/infra/auth): add domain entities, JPA repos, and auth entities 2026-03-11 23:42:53 +08:00
skillhub-search feat: complete Chunk 1 - backend skeleton and infrastructure 2026-03-11 23:35:47 +08:00
skillhub-storage feat: complete Chunk 1 - backend skeleton and infrastructure 2026-03-11 23:35:47 +08:00
mvnw feat: initialize Maven multi-module project structure 2026-03-11 22:52:04 +08:00
mvnw.cmd feat: initialize Maven multi-module project structure 2026-03-11 22:52:04 +08:00
pom.xml feat: complete Chunk 1 - backend skeleton and infrastructure 2026-03-11 23:35:47 +08:00