Skip to content

feat(kiro): add AWS Builder ID authentication support#1

Closed
fuko2935 wants to merge 3 commits intomainfrom
feature/kiro-aws-login
Closed

feat(kiro): add AWS Builder ID authentication support#1
fuko2935 wants to merge 3 commits intomainfrom
feature/kiro-aws-login

Conversation

@fuko2935
Copy link
Copy Markdown
Owner

@fuko2935 fuko2935 commented Dec 5, 2025

Summary

This PR adds comprehensive Kiro authentication support including AWS Builder ID device code flow.

Changes

New Features

  • 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

New Files

  • internal/auth/kiro/ - AWS, OAuth, SSO OIDC, social auth, protocol handler
  • internal/runtime/executor/kiro_executor.go - Kiro executor
  • internal/translator/kiro/ - Kiro translators (Claude, OpenAI)
  • sdk/auth/kiro.go - Kiro SDK authentication
  • internal/cmd/kiro_login.go - Kiro login commands

Modified Files

  • Browser support updates for Kiro authentication flows
  • Config updates for Kiro settings
  • Registry model definitions update

Stats

  • 45 files changed
  • +7519 insertions, -171 deletions

Mansi 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
@fuko2935 fuko2935 closed this Dec 5, 2025
@fuko2935 fuko2935 deleted the feature/kiro-aws-login branch December 5, 2025 20:26
luispater added a commit that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant