feat(kiro): add AWS Builder ID authentication support#1
Closed
feat(kiro): add AWS Builder ID authentication support#1
Conversation
added 3 commits
December 5, 2025 22:46
- Add --kiro-aws-login flag for AWS Builder ID device code flow - Add DoKiroAWSLogin function for AWS SSO OIDC authentication - Complete Kiro integration with AWS, Google OAuth, and social auth - Add kiro executor, translator, and SDK components - Update browser support for Kiro authentication flows
- Added setKiroIncognitoMode() helper function to handle Kiro auth incognito mode setting - Replaced 3 duplicate code blocks (21 lines) with single function calls (3 lines) - Kiro auth defaults to incognito mode for multi-account support - Users can override with --incognito or --no-incognito flags This addresses the code duplication noted in PR #1 review.
- Remove custom stringContains and findSubstring helper functions - Use standard library strings.Contains for better maintainability - No functional change, just cleaner code Addresses Gemini Code Assist review feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive Kiro authentication support including AWS Builder ID device code flow.
Changes
New Features
--kiro-aws-loginflag for AWS Builder ID device code flowDoKiroAWSLoginfunction for AWS SSO OIDC authenticationNew Files
internal/auth/kiro/- AWS, OAuth, SSO OIDC, social auth, protocol handlerinternal/runtime/executor/kiro_executor.go- Kiro executorinternal/translator/kiro/- Kiro translators (Claude, OpenAI)sdk/auth/kiro.go- Kiro SDK authenticationinternal/cmd/kiro_login.go- Kiro login commandsModified Files
Stats