feat(providers): expand OAuth account management

Add Claude Code manual and cookie authorization, including redacted batch tasks. Harden OAuth imports, duplicate replacement, provider dialogs, and related account-management tests.
This commit is contained in:
elky
2026-07-27 15:53:28 +08:00
parent 531cf11025
commit 550cc36760
55 changed files with 4957 additions and 403 deletions
@@ -244,6 +244,12 @@ pub(crate) fn admin_proxy_local_requires_buffered_body(
http::Method::POST,
Some("import_refresh_token"),
)
| (Some("provider_oauth_manage"), http::Method::POST, Some("cookie_authorize"))
| (
Some("provider_oauth_manage"),
http::Method::POST,
Some("start_cookie_authorize_task"),
)
| (Some("provider_oauth_manage"), http::Method::POST, Some("batch_import_oauth"))
| (
Some("provider_oauth_manage"),