Skip to content

Conversation

@liramon1
Copy link

@liramon1 liramon1 commented Jul 23, 2025

Problem

The agentic bundle for the CodeWhisperer LSP only supports SSO. If language clients want it to consume IAM credentials, they must start a completely separate bundle which includes the IAM implementation of the CodeWhisperer LSP. This prevents clients from seamlessly switching authentication methods at runtime.

Solution

This is part of #1981.

This PR changes all references of AmazonQIAMServiceManager and AmazonQTokenServiceManager to AmazonQServiceManager (including their factories). This extends to the codewhisperer bundles, so resulting bundles can switch between authentication methods at runtime.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@liramon1 liramon1 requested a review from a team as a code owner July 23, 2025 14:30
@liramon1 liramon1 changed the base branch from main to feature/flare-iam-base July 23, 2025 14:30
@liramon1 liramon1 changed the base branch from feature/flare-iam-base to liramon/flare-iam-base July 24, 2025 22:46
@liramon1 liramon1 changed the title refactor(amazonq): combine IAM and SSO implementations of AmazonQServiceManager refactor(amazonq): change IAM and SSO service references Jul 25, 2025
@liramon1 liramon1 force-pushed the liramon/flare-iam-base branch 4 times, most recently from 4f5fc2d to d093e42 Compare July 25, 2025 18:10
@liramon1 liramon1 changed the title refactor(amazonq): change IAM and SSO service references refactor(amazonq): change AmazonQServiceManager references Jul 28, 2025
@liramon1 liramon1 force-pushed the liramon/flare-iam-base branch 3 times, most recently from 82eeaf9 to e96e1c1 Compare July 28, 2025 20:07
@liramon1 liramon1 force-pushed the liramon/flare-iam-base branch 3 times, most recently from 2e54a43 to e9050ee Compare July 30, 2025 18:05
@liramon1 liramon1 force-pushed the unified-cw3 branch 2 times, most recently from ef76909 to c9c489d Compare July 30, 2025 18:19
@liramon1 liramon1 force-pushed the liramon/flare-iam-base branch from 24d84ef to b62b302 Compare August 1, 2025 15:05
@liramon1 liramon1 marked this pull request as draft August 1, 2025 15:30
@liramon1 liramon1 marked this pull request as ready for review August 6, 2025 17:24
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