Bug Description
The Amazon Q extension prompts for re-authentication on every prompt, task assignment, or interaction, even immediately after a successful sign-in. The authentication token/session does not persist across requests.
Steps to Reproduce
- Open VS Code with the Amazon Q extension installed.
- Sign in via AWS Builder ID .
- Open the Amazon Q chat panel and submit any prompt or assign a coding task.
- Observe that the extension immediately asks to authenticate again before processing the request.
Expected Behavior
Once authenticated, the session and OAuth tokens should persist across prompts and sessions without requiring constant re-authentication.
Actual Behavior
The extension repeatedly prompts for authentication on every prompt, interrupting workflow and making the extension unusable.
Environment & Setup
- IDE Name & Version: [e.g., VS Code 1.90.0 / WebStorm 2024.1]
- OS: [e.g., Windows 11 / macOS Sonoma / Ubuntu 22.04]
- Amazon Q Extension Version: [e.g., v1.12.0]
- Authentication Provider: [e.g., AWS Builder ID / AWS IAM Identity Center]
Additional Context / Logs
- Operating system keychain/credential manager permissions checked: [Yes/No]
- Attempted sign-out, window reload, and sign-in: [Yes/No]
- Cleared extension global state storage: [Yes/No]
Relevant logs from VS Code Output (Command Palette -> Output: Focus on Output View -> select Amazon Q / AWS Toolkit):
Bug Description
The Amazon Q extension prompts for re-authentication on every prompt, task assignment, or interaction, even immediately after a successful sign-in. The authentication token/session does not persist across requests.
Steps to Reproduce
Expected Behavior
Once authenticated, the session and OAuth tokens should persist across prompts and sessions without requiring constant re-authentication.
Actual Behavior
The extension repeatedly prompts for authentication on every prompt, interrupting workflow and making the extension unusable.
Environment & Setup
Additional Context / Logs
Relevant logs from VS Code Output (
Command Palette->Output: Focus on Output View-> selectAmazon Q/AWS Toolkit):