Supra4E8C
cd22c849e2
feat(management): 更新OAuth模型映射的清理逻辑以增强数据安全性
2026-01-04 17:57:34 +08:00
Supra4E8C
f0e73efda2
feat(management): add vertex api key and oauth model mappings endpoints
2026-01-04 17:32:00 +08:00
Supra4E8C
3156109c71
feat(management): 支持管理接口调整日志大小/强制前缀/路由策略
2026-01-04 12:21:49 +08:00
Supra4E8C
06ddf575d9
fix(antigravity): inject required placeholder when properties exist without required
2025-12-29 23:55:59 +08:00
Supra4E8C
781bc1521b
fix(oauth): prevent stale session timeouts after login
...
- stop callback forwarders by instance to avoid cross-session shutdowns
- clear pending sessions for a provider after successful auth
2025-12-21 10:48:40 +08:00
Supra4E8C
05d201ece8
fix(gemini): gate callback prompt on project_id
2025-12-21 07:21:12 +08:00
Supra4E8C
cd0c94f48a
fix(sdk/auth): prevent OAuth manual prompt goroutine leak,Use timer-based manual prompt per provider and remove oauth_callback helper.
2025-12-21 07:06:28 +08:00
Supra4E8C
24970baa57
management: allow prefix updates in provider PATCH handlers
2025-12-21 02:14:28 +08:00
Supra4E8C
9855615f1e
fix(gemini): avoid stale manual oauth prompt and accept schemeless callbacks
2025-12-20 19:03:38 +08:00
Supra4E8C
93414f1baa
feat (auth): CLI OAuth supports pasting callback URLs to complete login
...
- Added callback URL resolution and terminal prompt logic
- Codex/Claude/iFlow/Antigravity/Gemini login supports callback URL or local callback completion
- Update Gemini login option signature and manager call
- CLI default prompt function is compatible with null input to continue waiting
2025-12-20 18:25:55 +08:00
Supra4E8C
1b358c931c
fix: restore get-auth-status ok fallback and document it
2025-12-19 12:15:22 +08:00
Supra4E8C
cfa8ddb59f
feat(oauth): add remote OAuth callback support with session management
...
Introduce a centralized OAuth session store with TTL-based expiration
to replace the previous simple map-based status tracking. Add a new
/api/oauth/callback endpoint that allows remote clients to relay OAuth
callback data back to the CLI proxy, enabling OAuth flows when the
callback cannot reach the local machine directly.
- Add oauth_sessions.go with thread-safe session store and validation
- Add oauth_callback.go with POST handler for remote callback relay
- Refactor auth_files.go to use new session management APIs
- Register new callback route in server.go
2025-12-19 00:38:29 +08:00