21 Commits

Author SHA1 Message Date
0d1228ec30 feat: 优化 OAuth 认证流程,改进参数获取和加载状态管理 2025-02-21 18:00:42 +08:00
f9c912e8c5 refactor: 重构用户授权流程,简化 OAuth 和 SSO 重定向逻辑 2025-02-21 17:28:14 +08:00
6c8bda6b32 feat: 增加 OAuth 支持,优化用户授权流程,简化参数处理和错误显示 2025-02-21 17:22:56 +08:00
0da3da33ef 使用原始方法 2025-02-21 16:49:18 +08:00
0c98d52a16 refactor: 更新用户授权组件以使用next-auth进行登录,简化重定向逻辑并优化会话更新 2025-02-21 16:45:52 +08:00
0ef9ae7903 refactor: 优化用户授权组件的错误处理逻辑,简化代码结构 2025-02-21 16:40:42 +08:00
a5a9f2e779 refactor: 简化用户授权组件的登录逻辑,移除不必要的延迟和重定向处理 2025-02-21 16:27:23 +08:00
3f193650d2 docs: 更新README以添加检查点说明;优化用户授权组件的重定向逻辑 2025-02-21 16:20:37 +08:00
2b11972699 登录后跳转, 添加更长的等待时间 2025-02-21 16:11:17 +08:00
3dece6b5df fix: 添加短暂延迟以确保会话更新完成 2025-02-21 15:49:54 +08:00
c535e037fc docs: 更新README以包含项目部署网址和Q58论坛信息;优化用户授权组件的登录回调逻辑 2025-02-21 15:42:40 +08:00
1083416b17 feat: Enhance Discourse SSO authentication with dynamic return URL handling
- Update signIn action to extract and use return_sso_url from SSO parameters
- Modify UserAuthorize component to dynamically retrieve SSO and signature parameters
- Improve error handling and logging in authentication process
- Update README to reflect current project deployment and simplify description
2025-02-21 15:30:25 +08:00
8a7997f5b9 feat: Improve user authorization UI and session management
- Enhance UserAuthorize component with Card-based loading and error states
- Add animated loading spinner and error icon for better user feedback
- Implement router refresh after successful authentication
- Update NavBar to automatically update session on component mount
- Streamline sign-out process with router refresh
2025-02-21 13:42:38 +08:00
f9521d9afb refactor: Simplify OAuth authentication flow and update branding
- Remove complex OAuth parameter handling in UserAuthorize component
- Streamline sign-in process with direct dashboard redirect
- Update UserAuthForm to use simplified branding (Q58 instead of Q58论坛)
- Add session update after successful authentication
2025-02-21 13:32:51 +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
f7d32436b5 fix: Modify OAuth authorization redirect after login
- Update router.push to redirect back to OAuth authorization page
- Preserve original OAuth parameters using window.location.search
- Ensure smooth continuation of OAuth authorization flow after authentication
2025-02-21 12:52:26 +08:00
3ba0e3ed6b refactor: Migrate sign-in method to NextAuth direct sign-in 2025-02-09 19:12:53 +08:00
fc347747c4 feat: Improve sign-in error handling and redirect flow 2025-02-09 19:09:38 +08:00
5c2085d238 feat: Add admin route and navigation for admin users 2025-02-09 19:05:17 +08:00
a9a5d2d59a feat: Improve user authorization and navigation flow 2025-02-09 18:58:49 +08:00
Tuluobo
c311aeb18e feat: Sign in with discourse sso 2024-09-08 17:24:43 +08:00