26 Commits

Author SHA1 Message Date
04d9ac38dc refactor: Migrate OAuth state management to API-based approach 2025-02-21 20:09:27 +08:00
d83f60b0a9 refactor: Simplify SSO authentication route and OAuth parameter handling 2025-02-21 19:39:51 +08:00
d99b9bcc77 feat: Enhance OAuth authorization flow with dynamic redirect and parameter handling 2025-02-21 19:33:36 +08:00
4254098b53 refactor: Simplify SSO authorization flow by removing OAuth parameter handling 2025-02-21 18:50:05 +08:00
a0026c005d refactor: Streamline SSO and OAuth authorization flow with simplified parameter handling 2025-02-21 18:47:32 +08:00
1b4a988ba2 refactor: Simplify user authorization component and improve error handling 2025-02-21 18:32:59 +08:00
05b8ee3c75 feat: 改进 OAuth 参数存储和重定向机制,使用 cookies 管理临时授权参数 2025-02-21 18:18:45 +08:00
8bcaf1fd89 refactor: 简化 SSO 登录流程,移除 OAuth 参数存储和复杂重定向逻辑 2025-02-21 18:11:50 +08:00
99e833c84e refactor: 重构 SSO 登录流程,改进错误处理和状态管理 2025-02-21 18:05:05 +08:00
178d2af9aa feat: 改进 OAuth 参数存储和处理机制,优化跨页面参数传递 2025-02-21 17:58:58 +08:00
e193568ee8 refactor: 改进 OAuth 参数处理和错误处理机制 2025-02-21 17:54:17 +08:00
1c0aa7e65f refactor: 优化 SSO 和 OAuth 重定向流程,改进参数处理和回调机制 2025-02-21 17:43:21 +08:00
3b47daccee 修复: 即使用户没有提前登录本系统,从第三方应用发起授权请求时也能正确完成整个认证流程 2025-02-21 17:12:53 +08:00
a85c15381a 回归原项目 2025-02-21 13:25:05 +08:00
379fceb26b refactor: Improve SSO authentication flow with enhanced error handling and parameter processing
- Update Q58 route to handle dynamic OAuth parameters
- Add error handling and logging for SSO URL generation
- Modify UserAuthForm to preserve and pass OAuth parameters during authentication
- Implement more robust error handling in authentication process
2025-02-21 13:15:53 +08:00
1e519738ea feat: Improve OAuth authorization flow and redirect handling
- Update signIn action to support dynamic redirect after authentication
- Modify Q58 OAuth route to handle dynamic return URL with original parameters
- Refactor UserAuthorize component to support OAuth-specific redirect scenarios
- Add support for preserving and processing OAuth parameters during login
2025-02-21 13:08:42 +08:00
70e66294e3 feat: Add user access control and client management enhancements
- Introduced `allowedUsers` field to Client model for granular access control
- Implemented user filtering in authorization process
- Updated client edit form with allowed users configuration
- Enhanced dashboard and admin pages with improved user and client management
- Refactored client update and delete API routes
- Added form validation using Zod and react-hook-form
2025-02-20 01:49:52 +08:00
781d2fc0c2 feat: Add authorization tracking and management features
- Enhanced Authorization model with `enabled` and `lastUsedAt` fields
- Implemented client-side and admin authorization status toggles
- Added comprehensive authorization statistics and recent authorization tracking
- Updated client details pages to display authorization information
- Improved navigation and user experience for managing client authorizations
2025-02-20 01:13:22 +08:00
0c1d7fceea refactor: Replace Discourse SSO with Q58 authentication flow 2025-02-17 05:56:15 +08:00
b025ab22be 添加编辑应用和删除应用功能 2025-02-15 00:31:31 +08:00
Tuluobo
ff0baffce8 refactor: update user field 2024-09-26 22:47:01 +08:00
Tuluobo
b8f7fcf180 fix: replace discourse host with env & typo, update README 2024-09-26 09:50:09 +08:00
Tuluobo
1069de389c refactor: Redesign the auth process 2024-09-15 20:05:32 +08:00
Tuluobo
19d063ae14 feat: OAuth authorization finished 2024-09-09 09:58:48 +08:00
Tuluobo
c311aeb18e feat: Sign in with discourse sso 2024-09-08 17:24:43 +08:00
Tuluobo
7af50b3003 Initial commit from Create Next App 2024-09-07 18:19:33 +08:00