aws / aws/aws-toolkit-vscode

invalid_grant after login with Q for Eclipse

Open
#6,286 1 comment 0 reactions 0 assignees View on GitHub
amazon-q auth-credentials bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem
The first time I installed Amazon Q in vscode on my mac it worked fantastic. I then installed it in eclipse on my Mac and that is working, however I needed to restart vscode and ever since I restarted vscode, Amazon Q in vscode presents me with a "Choose a Sign-in option", and when I try signing in it takes me directly to the "grant access" page, which I did before, and when I click the button to allow access it says "Invalid_grant". It continues to work fine in eclipse.

## Steps to reproduce the issue

## Expected behavior
For it to work

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: MAC
- Visual Studio Code version: 1.96.2
- AWS Toolkit version: 3.34.0
- Amazon Q version: 1.41.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Amazon Q sign-in flow in VS Code on macOS using the reported VS Code, AWS Toolkit, and Amazon Q versions, then compare it with the working Eclipse sign-in. Done means the VS Code sign-in completes without the "Invalid_grant" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.