55 Commits

Author SHA1 Message Date
03107936ad refactor: Remove metadata export from sign-in page 2025-02-21 20:10:53 +08:00
04d9ac38dc refactor: Migrate OAuth state management to API-based approach 2025-02-21 20:09:27 +08:00
67b434e692 feat: Replace localStorage with secure cookies for OAuth state management 2025-02-21 20:04:26 +08:00
a40234e6c8 refactor: Consolidate OAuth authorization page and enhance parameter handling 2025-02-21 19:54:25 +08:00
32aaf27b2e feat: Restore OAuth parameter preservation during authentication flow 2025-02-21 19:49:55 +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
a05bce4e38 refactor: Simplify OAuth authorization page and component with direct SSO handling 2025-02-21 19:19:11 +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
b5c3d84ec5 fix: Update login redirect path in OAuth authorization page
- Change redirect path from "/login" to "/sign-in" for consistent authentication routing
2025-02-21 12:39:03 +08:00
760bbdbafd feat: Enhance homepage and OAuth authorization with improved design and functionality
- Redesign homepage with modern layout, feature cards, and interactive tabs
- Add Radix UI Tabs component for code example section
- Improve OAuth authorization page with more robust parameter validation
- Refactor Authorizing component with better loading state and error handling
- Optimize authorization code generation and expiration logic
- Update authorization flow to support standard OAuth 2.0 parameters
2025-02-20 03:44:05 +08:00
5a31f79f75 refactor: Update OAuth authorization page to support standard OAuth parameters
- Modify AuthorizeParams interface to align with OAuth 2.0 specification
- Add validation for required OAuth parameters
- Implement parameter transformation and encoding
- Improve error handling for missing or invalid parameters
- Ensure compatibility with standard OAuth authorization flow
2025-02-20 03:21:17 +08:00
7c05f5f70e feat: Enhance OAuth authorization error handling with ErrorCard
- Add comprehensive error handling for invalid clients, disabled applications, and mismatched redirect URIs
- Implement ErrorCard component to display detailed error messages during OAuth authorization
- Improve user feedback with specific error types and descriptions
- Replace simple error text with structured error handling
2025-02-20 03:13:04 +08:00
a82643ada4 refactor: Simplify OAuth authorization page and component
- Restructure AuthorizePage to handle user authentication and client validation
- Modify Authorizing component to use new authorization action
- Improve error handling with dedicated ErrorCard component
- Streamline authorization flow and parameter handling
- Remove redundant validation checks in favor of centralized authorization logic
2025-02-20 03:09:46 +08:00
3782ec8ca0 添加"授权管理页面" 2025-02-20 02:39:55 +08:00
1d0fe64fdb feat: Improve OAuth authorization error handling and client validation
- Add comprehensive error handling for OAuth authorization requests
- Implement detailed error redirects for invalid client, redirect URI, and disabled applications
- Update Authorizing component to handle OAuth parameters more robustly
- Refactor client retrieval to select specific fields and improve security
- Enhance error messaging for OAuth authorization flow
2025-02-20 02:24:06 +08:00
0dd6a3338f refactor: Improve UI and UX for client management and authorization
- Updated client status toggle with Switch component
- Refined admin pages for clients and users with layout improvements
- Enhanced authorization action with more detailed error logging
- Modified dashboard links to point to client list instead of new client page
- Updated client edit form with clearer user input guidance
2025-02-20 02:02:04 +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
77d00fd513 refactor: Remove unnecessary client directives and simplify server-side code 2025-02-20 00:25:09 +08:00
98e5563eb0 feat: Enhance admin dashboard with comprehensive system overview and statistics 2025-02-20 00:19:29 +08:00
0c1d7fceea refactor: Replace Discourse SSO with Q58 authentication flow 2025-02-17 05:56:15 +08:00
25f262c1ac docs: Update OAuth 2.0 documentation with detailed error codes and security guidelines 2025-02-17 05:20:27 +08:00
08be0879f2 feat: Enhance OAuth 2.0 documentation and user session metadata 2025-02-17 05:14:04 +08:00
a3fe3ec419 feat: Enhance authorization UI and add analytics tracking 2025-02-16 22:03:45 +08:00
b025ab22be 添加编辑应用和删除应用功能 2025-02-15 00:31:31 +08:00
bf1797c5d4 chore: 更新所有链接以指向新的 q58.club 域名 2025-02-15 00:00:29 +08:00
5c2085d238 feat: Add admin route and navigation for admin users 2025-02-09 19:05:17 +08:00
f604046aa4 chore: Update landing page and auth links to Q58 official website 2025-02-08 20:21:07 +08:00
39db9e79a6 feat: Redesign landing page with comprehensive OAuth integration guide 2025-02-08 20:16:33 +08:00
56131dd348 chore: Update copyright year and GitHub repository link 2025-02-08 20:11:02 +08:00
00538187c6 feat: Enhance dashboard UI with new layout and client management 2025-02-08 19:54:27 +08:00
83c668e717 chore: Update branding references to Q58 in documentation and UI 2025-02-08 19:40:12 +08:00
f771f4fb95 chore: Update favicon and logos for Q58 Connect branding 2025-02-08 19:29:44 +08:00
8fd599da9d refactor: Rebrand from 数字牧民 to Q58 2025-02-08 19:22:14 +08:00
Tuluobo
3e85d0828b feat: design home page ui 2024-10-10 09:38:04 +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