movingsam
9f02398eb9
调整项目
2026-02-21 15:05:37 +08:00
Sam
5d097d8582
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
0c5bd5e647
feat: 添加OAuth2认证配置和实现
...
添加OAuth2认证相关配置文件和服务实现,包括环境变量配置、PKCE流程支持、token管理等功能。主要变更:
- 新增OAuth2配置文件
- 实现OAuth2服务层
- 更新请求拦截器支持token自动刷新
- 修改认证API和store以支持OAuth2流程
2026-02-07 17:47:11 +08:00
Sam
1a0c18c198
fix: simplify OpenIddict server configuration
...
- Remove non-existent method calls (AllowAuthorizationCodeFlow, etc)
- Keep only basic configuration: issuer, encryption, scopes
- This should fix 'authorization endpoint must be enabled' error
2026-02-06 21:59:06 +08:00
Sam
875ba7bc61
fix: add UseAspNetCore() to OpenIddict validation
...
- Add .UseAspNetCore() to validation configuration
- This enables OpenIddict Server to properly process OAuth2 requests
- Fix for 'The OpenID Connect request cannot be retrieved' error
2026-02-06 21:54:56 +08:00
Sam
635e3b6c86
feat: configure OAuth client for Fengling Console
...
- Add localhost:5777 callback URIs to fengling-console client
- Register OIDC scopes: openid, profile, email
- Add support for development environment
2026-02-06 00:47:06 +08:00
Sam
02b446cfa7
first commit
2026-02-03 15:30:12 +08:00
Sam
9a717b153f
feat(auth): add authentication controller with login endpoint
2026-02-02 01:00:57 +08:00
Sam
baed266718
feat(auth): configure OpenIddict with JWT and OAuth2 support
2026-02-01 23:40:37 +08:00