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.41k stars 349 forks source link

[split sessions] refactor(auth): remove sharing of direct sessions across extensions #5169

Closed hayemaxi closed 2 weeks ago

hayemaxi commented 3 weeks ago

Separate sessions commit

Instead of sharing sessions directly (e.g. with tokens, logout logs out of both extensions, etc), we will just share SSO parameters across extensions. The auth can re-use starturl and region but will build its own connection. Existing connections UI remains for this purpose.

License

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