mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 10:18:14 +00:00
fix(kiro): align auth flows with CLIProxyAPIPlus
- auto-select Builder ID for the default Kiro AWS auth flow - support IDC auth flags and callback-based Kiro paste replay - update regression coverage for Kiro auth routing
This commit is contained in:
1 parent
14c00dc665
commit
0fbea0f335
11 files changed
+501
-82
No files matched your search
@@ -25,6 +25,12 @@ describe('cliproxy-auth-routes start-url guard', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('rejects Kiro idc method on start-url', () => {
|
||||
expect(getStartUrlUnsupportedReason('kiro', { kiroMethod: 'idc' })).toContain(
|
||||
"Kiro method 'idc' uses CLI auth flow"
|
||||
);
|
||||
});
|
||||
|
||||
it('allows authorization code providers', () => {
|
||||
expect(getStartUrlUnsupportedReason('gemini')).toBeNull();
|
||||
expect(getStartUrlUnsupportedReason('codex')).toBeNull();
|
||||
|
||||
Reference in new issue
Block a user