Commit Graph

12 Commits

Author SHA1 Message Date
Sam
0c5bd5e647 feat: 添加OAuth2认证配置和实现
添加OAuth2认证相关配置文件和服务实现,包括环境变量配置、PKCE流程支持、token管理等功能。主要变更:
- 新增OAuth2配置文件
- 实现OAuth2服务层
- 更新请求拦截器支持token自动刷新
- 修改认证API和store以支持OAuth2流程
2026-02-07 17:47:11 +08:00
Sam
b6c85b1c4b 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
02b446cfa7 first commit 2026-02-03 15:30:12 +08:00
Sam
58e6969e95 feat(auth): add health check endpoint 2026-02-02 09:54:36 +08:00
Sam
42976f09df feat(auth): add seed data for admin and test users 2026-02-02 09:53:06 +08:00
Sam
db3d345b86 chore: upgrade all projects to .NET 10.0 and latest packages 2026-02-02 01:04:51 +08:00
Sam
baed266718 feat(auth): configure OpenIddict with JWT and OAuth2 support 2026-02-01 23:40:37 +08:00
Sam
9f414ccb74 feat(auth): add user and role models with EF Core migrations 2026-02-01 23:36:20 +08:00
Sam
9b389beafb feat(auth): upgrade all dependencies to latest versions 2026-02-01 23:31:33 +08:00
Sam
53e0978ad2 revert(auth): restore OpenIddict to 5.0.2 per spec 2026-02-01 23:25:08 +08:00
Sam
e3428d3bd6 chore(auth): upgrade OpenIddict to 7.2.0 2026-02-01 23:24:47 +08:00
Sam
3099abb710 feat(auth): create authentication service project structure 2026-02-01 23:23:56 +08:00