f14bf019f1
chore: update gitignore to allow Vben packages directory
2026-02-13 21:34:52 +08:00
Sam
c8cb7c06bc
feat: 添加Console API认证和OpenIddict集成
...
- 配置AuthService使用OpenIddict reference tokens
- 添加fengling-api客户端用于introspection验证
- 配置Console API通过OpenIddict验证reference tokens
- 实现Tenant/Users/Roles/OAuthClients CRUD API
- 添加GatewayController服务注册API
- 重构Repository和Service层支持多租户
BREAKING CHANGE: API认证现在使用OpenIddict reference tokens
2026-02-08 19:01:25 +08:00
Sam
61c3a27192
feat: 添加OAuth2认证配置和实现
...
添加OAuth2认证相关配置文件和服务实现,包括环境变量配置、PKCE流程支持、token管理等功能。主要变更:
- 新增OAuth2配置文件
- 实现OAuth2服务层
- 更新请求拦截器支持token自动刷新
- 修改认证API和store以支持OAuth2流程
2026-02-07 17:47:11 +08:00
Sam
cf1bf1d600
fix: configure TenantInfo as owned entity and use AsNoTracking
...
- Add AsNoTracking to tenant query to avoid tracking conflicts
- Configure TenantInfo as owned entity in ApplicationUser
- Map TenantInfo properties to separate columns in AspNetUsers table
2026-02-06 00:55:58 +08:00
Sam
e1ba3a90c3
feat(console): complete migration of User, Tenant, and Role management APIs
2026-02-05 14:21:36 +08:00
Sam
4d7abd6fdb
feat(console): add RolesController with all CRUD endpoints
2026-02-05 14:21:21 +08:00
Sam
88c4bfa9cd
feat(console): add TenantsController with all CRUD endpoints
2026-02-05 14:20:46 +08:00
Sam
5d163b3395
feat(console): add UsersController with all CRUD endpoints
2026-02-05 14:20:11 +08:00
Sam
a4da3b26fa
feat(console): register all services and HttpContextAccessor
2026-02-05 14:19:44 +08:00
Sam
decc88441a
feat(console): add RoleService with audit logging
2026-02-05 14:19:10 +08:00
Sam
cd2ec42ea3
feat(console): add TenantService with audit logging
2026-02-05 14:17:52 +08:00
Sam
993152aa56
feat(console): add UserService with audit logging
2026-02-05 14:16:40 +08:00
Sam
c87278fb18
feat(console): add Identity configuration and register repositories
2026-02-05 14:15:47 +08:00
Sam
134647d6c9
feat(console): add RoleRepository
2026-02-05 14:15:20 +08:00
Sam
75b161bc60
feat(console): add TenantRepository
2026-02-05 14:15:02 +08:00
Sam
a76f37fbc9
feat(console): add UserRepository
2026-02-05 14:14:43 +08:00
Sam
abb5cd7c41
feat(console): add role DTOs
2026-02-05 14:14:19 +08:00
Sam
8a20a3368e
feat(console): add tenant DTOs
2026-02-05 14:13:47 +08:00
Sam
50c443fdfa
feat(console): add user DTOs
2026-02-05 14:13:17 +08:00
Sam
b8a76dfd93
feat(console): add ASP.NET Core Identity dependency
2026-02-05 14:06:23 +08:00
Sam
29357dbf10
chore: add .worktrees to gitignore
2026-02-05 13:47:13 +08:00
Sam
7da91991ff
first commit
2026-02-03 15:30:12 +08:00
Sam
51ab712a5d
docs(console): add task 12 documentation for frontend project creation
2026-02-02 10:34:12 +08:00
Sam
4c3337a408
feat(console): create Vue 3 frontend project with OAuth2 and basic modules
2026-02-02 10:33:23 +08:00
Sam
153d33f7af
chore: add .gitignore and remove tracked binary files (bin, obj, dll, pdb)
2026-02-02 10:20:22 +08:00
Sam
e6827ede0b
docs(console): update architecture to frontend-only, remove backend project
2026-02-02 10:13:35 +08:00
Sam
bbecd7348a
chore(console): remove incorrect backend project, will create frontend project instead
2026-02-02 10:12:22 +08:00
Sam
d4d87eccde
feat(console): create console backend project structure
2026-02-02 10:00:30 +08:00
Sam
ee48b93fae
feat(auth): pre-register Fengling.Console as OAuth client
2026-02-02 09:59:32 +08:00
Sam
5cdcba7e57
feat(auth): add OAuth client management API
2026-02-02 09:58:55 +08:00
Sam
d3810f5d43
docs(auth): add API documentation
2026-02-02 09:55:23 +08:00
Sam
dcb1a0add8
feat(auth): add Dockerfile for containerization
2026-02-02 09:55:10 +08:00
Sam
db831758d9
feat(auth): add health check endpoint
2026-02-02 09:54:36 +08:00
Sam
d6dc0b2d36
feat(auth): add seed data for admin and test users
2026-02-02 09:53:06 +08:00
Sam
e51ea08c8f
chore: upgrade all projects to .NET 10.0 and latest packages
2026-02-02 01:04:51 +08:00
Sam
22ab0214e6
feat(auth): add authentication controller with login endpoint
2026-02-02 01:00:57 +08:00
Sam
da56bdb493
feat(auth): configure OpenIddict with JWT and OAuth2 support
2026-02-01 23:40:37 +08:00
Sam
3deca408f1
feat(auth): add user and role models with EF Core migrations
2026-02-01 23:36:20 +08:00
Sam
d52b7c9a46
feat(auth): upgrade all dependencies to latest versions
2026-02-01 23:31:33 +08:00
Sam
425bf3b243
revert(auth): restore OpenIddict to 5.0.2 per spec
2026-02-01 23:25:08 +08:00
Sam
4ffc256615
chore(auth): upgrade OpenIddict to 7.2.0
2026-02-01 23:24:47 +08:00
Sam
6ca282d208
feat(auth): create authentication service project structure
2026-02-01 23:23:56 +08:00