116 Commits

Author SHA1 Message Date
efc5dd6b39 feat: Add session update on dashboard navigation 2025-02-21 22:38:44 +08:00
1050a8f6af feat: Add admin redirect and refactor authentication layout and components 2025-02-21 22:28:02 +08:00
01ce107b70 refactor: Simplify Authorizing component state and rendering logic 2025-02-21 22:12:18 +08:00
96804d59f8 refactor: Simplify OAuth and SSO authentication error handling and component logic 2025-02-21 22:06:12 +08:00
465bf1dff5 feat: Add UserAuthForm to authorize page and enhance SSO/OAuth login handling 2025-02-21 21:56:54 +08:00
80e281f986 refactor: Streamline OAuth and SSO authentication flow across multiple components 2025-02-21 21:49:44 +08:00
bcec776a00 refactor: Simplify SSO authentication redirect to use direct window location 2025-02-21 21:34:56 +08:00
849265a26f fix: Improve SSO authentication form submission with dynamic parameter extraction 2025-02-21 21:28:37 +08:00
2c94af2b91 fix: Improve OAuth callback URL parsing and handling 2025-02-21 21:25:27 +08:00
b9ace034bf feat: Implement form-based SSO redirect for more reliable authentication flow 2025-02-21 21:19:52 +08:00
21a2a51ba6 feat: Enhance OAuth authentication with robust URL parsing and error logging 2025-02-21 21:12:57 +08:00
c176362949 fix: Improve OAuth callback URL handling in authentication flow 2025-02-21 21:04:46 +08:00
f40979b4ad fix: Decode callback URL and reset loading state on authentication error 2025-02-21 21:00:20 +08:00
7188c46cd7 feat: Improve SSO authentication with enhanced error handling and dynamic return URL 2025-02-21 20:51:44 +08:00
1edfc035e2 feat: Enhance OAuth redirect with dynamic callback URL preservation 2025-02-21 20:39:55 +08:00
2f0d1aee47 refactor: Simplify OAuth state management and remove cookie-based approach 2025-02-21 20:37:35 +08:00
d39cb2e7d5 feat: Improve OAuth state parsing and error handling in sign-in route 2025-02-21 20:29:00 +08:00
3b6117dc61 feat: Conditionally set OAuth return URL based on OAuth state 2025-02-21 20:23:50 +08:00
4fe8f1cb11 feat: Add OAuth state parameter handling in sign-in flow 2025-02-21 20:17:10 +08:00
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
a3e43bf9e1 refactor: Simplify user authorization action and component with direct sign-in method 2025-02-21 18:56:27 +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
2f848af557 refactor: Improve OAuth and SSO authorization flow with enhanced loading and error handling 2025-02-21 18:27:55 +08:00
86adf32db8 refactor: Enhance OAuth authorization flow with improved parameter handling and loading state 2025-02-21 18:23:47 +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
0d1228ec30 feat: 优化 OAuth 认证流程,改进参数获取和加载状态管理 2025-02-21 18:00:42 +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
f9c912e8c5 refactor: 重构用户授权流程,简化 OAuth 和 SSO 重定向逻辑 2025-02-21 17:28:14 +08:00
6c8bda6b32 feat: 增加 OAuth 支持,优化用户授权流程,简化参数处理和错误显示 2025-02-21 17:22:56 +08:00
3b47daccee 修复: 即使用户没有提前登录本系统,从第三方应用发起授权请求时也能正确完成整个认证流程 2025-02-21 17:12:53 +08:00
cd24fe93b7 取消错误更改 2025-02-21 17:09:10 +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