9router/src/lib/oauth
Kevin Le c233c7c8fc fix(codex): durable OAuth refresh lifecycle
Add shared OAuth credential lifecycle manager with provider-aware refresh
decisions. Implement CodexExecutor.refreshCredentials so 401/403 retry
refresh works for Codex, track lastRefreshAt and refresh before the
upstream stale-token window, preserve omitted idToken, and add
per-connection single-flight refresh to avoid refresh-token rotation races.

Merged from PR #1664.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 11:04:36 +07:00
..
constants feat(qoder): port Kiro-style provider integration with COSY signing 2026-05-29 17:36:27 +07:00
services fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00
utils feat(xai): add xAI Grok provider with OAuth + API key auth + image 2026-05-21 11:33:18 +07:00
providers.js fix(codex): durable OAuth refresh lifecycle 2026-06-06 11:04:36 +07:00