Commit Graph

7 Commits

Author SHA1 Message Date
71c238f953 feat: 添加JWKS token支持,更新用户和OAuth相关逻辑 2026-02-21 06:29:11 +08:00
77273bcfeb feat: 添加JWKS管理功能,支持基于用户token创建新token 2026-02-21 05:06:25 +08:00
366a21d621 feat: add CNB login functionality and user management
- Introduced `cnb-login` route to handle user login via CNB token.
- Created `CnbServices` class for managing CNB user interactions.
- Added `findByCnbId` method in the User model to retrieve users by CNB ID.
- Updated error handling to provide more structured error messages.
- Enhanced user creation logic to handle CNB users.
- Added tests for the new CNB login functionality.
2026-02-20 23:30:53 +08:00
b1d3ca241c 优化 token 处理逻辑,统一过期时间字段命名 2026-02-03 17:09:09 +08:00
82e3392b36 优化 token 处理逻辑,统一 createCookie 调用格式,返回 token 过期时间 2026-02-02 17:02:20 +08:00
07b4b0618a update use-config 2026-01-15 18:02:49 +08:00
2a55f2d3ef remove mark 2025-12-04 10:31:37 +08:00