You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(amazonq): Use new auth class using flare identity server for Amazon Q (#7062)
## Problem
The business logic of auth-related features is complex and implemented
separately for all IDEs. Flare/DEXP LSP server has implemented auth that
can be reused for all IDEs. The source code was introduced, but not yet
instantiated upon activation.
Follow up for #6958
## Solution
* Remove `"amazonqLSP"` experiment flag
* Have
[regionProfileManager.ts](https://github.com/aws/aws-toolkit-vscode/pull/7062/files#diff-f5716036a70a8b212e9dae829ec09e33731f181c173a3f2b9ad9d361d51af14b)
depend on `authProvider` through `IAuthProvider` interface to remove
circular dependency with `AuthUtil`
* Deprecate `getChatAuthState()` API in favor of new `getAuthState()`
* Instantiate and activate LSP client and new AuthUtil instance
NOTE: CI is expected to fail, since the reference updates for AuthUtil
in the rest of code and unit tests have not been committed yet
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
---------
Co-authored-by: Justin M. Keyes <[email protected]>
0 commit comments