9router/src/lib/oauth
decolua f8c59227f6 fix(kiro): auto-resolve profileArn to prevent 403 on IDC login
AWS OIDC IDC/Builder-ID tokens omit profileArn, so CodeWhisperer calls
return 403 "User is not authorized". Resolve it natively via the
ListAvailableProfiles API instead of reading Kiro IDE profile.json.

- providers.js: add fetchKiroProfileArn() and resolve on poll (new logins)
- tokenRefresh.js: backfill profileArn on refresh so existing IDC
  connections self-heal without re-login

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 09:45:58 +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(kiro): auto-resolve profileArn to prevent 403 on IDC login 2026-06-08 09:45:58 +07:00