Commit Graph

18 Commits

Author SHA1 Message Date
Solo
f4d0327f67 feat: add Codex auth login and export flow
Add Codex Auth support in account management so selected accounts can
complete a Codex-compatible OAuth login flow and export usable auth.json
files.

This commit includes:
- account-management UI entrypoints for Codex Auth login and auth.json download
- backend SSE routes for single-account and batch Codex Auth login execution
- persistence of freshly returned Codex-compatible tokens back into the account database
- Codex auth export support for direct auth.json download and batch zip packaging
- tests covering the Codex Auth login flow and export behavior

The OTP verification failure was caused by manually sending a second OTP after
password verification. The flow now reuses the existing proven login path:
login re-entry, password verification, automatic OTP reception, consent page
handling, workspace selection, and OAuth callback exchange.

Successful logins now also persist workspace_id together with the refreshed
Codex-compatible tokens, making later re-export of auth.json possible without
requiring the browser-downloaded file to still exist locally.

Change-Id: I59df518ef4dc05f8bc52c734dd1b738fcb0b7a4e
2026-03-25 19:55:13 +08:00
Mison
de2c4aa7ab fix: restore protocol baseline, resolve 403/400 registration errors, and fully remove deprecated playwright dependency 2026-03-24 12:16:09 +08:00
cnlimiter
b1a8d02353 feat(mail): 添加收件箱功能,自动获得验证码 2026-03-20 12:54:39 +08:00
cnlimiter
9d369bca63 Merge remote-tracking branch 'origin/master' 2026-03-19 19:11:09 +08:00
cnlimiter
cd01280b56 fix(team manager): 更改team上传router路径 2026-03-19 19:01:44 +08:00
rockxsj
15ea00fcd8 增加前端资源版本号 2026-03-19 17:38:01 +08:00
cnlimiter
93ab984200 refactor(html): 优化前端页面 2026-03-19 01:58:57 +08:00
cnlimiter
881e724463 feat(account): 合并上传按钮 2026-03-18 19:08:53 +08:00
cnlimiter
ffd3a81a38 feat(upload): #13 添加上传至sub2api 2026-03-18 18:27:14 +08:00
cnlimiter
931ea798cc feat(cpa): 支持多cpa服务 2026-03-18 14:01:44 +08:00
演变
781e277dd4 Merge branch 'master' into master 2026-03-17 17:59:47 +08:00
cnlimiter
f0e1dd3ad0 feat(accounts): 新增 Sub2Api 格式导出功能 2026-03-16 19:39:11 +08:00
cnlimiter
19eb172eee feat(pay): 支付跳转功能
- 账号管理:补充订阅状态管理、TeamManager上传说明
 - 新增「支付升级」功能模块描述
 - 系统设置:补充 CPA配置和 TeamManager配置项
2026-03-16 17:04:54 +08:00
pigracing
3c955251f9 增加为需要输入密码才能访问,同时支持远程PGSQL 2026-03-16 11:54:38 +08:00
cnlimiter
41dd27eca0 feat(accounts): 添加CPA上传功能及批量操作支持 2026-03-15 00:43:19 +08:00
cnlimiter
6891b9f11d 4 2026-03-14 20:36:03 +08:00
cnlimiter
0688f4ca7e 3 2026-03-14 17:36:55 +08:00
cnlimiter
9d3099fcd8 2 2026-03-14 16:51:57 +08:00