aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.49k stars 418 forks source link

feat(amazonq): reauth enforces amazon q scopes only #5138

Closed hayemaxi closed 3 months ago

hayemaxi commented 3 months ago

Session split commit

Problem: Amazon Q will continue to use connections it already has. These connections may contain scopes from toolkit.

Solution: Reauth with only amazon q scopes once the connection expires.

License

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

hayemaxi commented 3 months ago

oops I set the wrong base branch

hayemaxi commented 3 months ago

see https://github.com/aws/aws-toolkit-vscode/pull/5143