13 Commits

Author SHA1 Message Date
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