Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid_grant after login with Q for Eclipse #6286

Open
tikiwade opened this issue Dec 22, 2024 · 1 comment
Open

invalid_grant after login with Q for Eclipse #6286

tikiwade opened this issue Dec 22, 2024 · 1 comment
Labels
amazon-q auth-credentials authentication, authorization, credentials, AWS Builder ID, sso bug We can reproduce the issue and confirmed it is a bug.

Comments

@tikiwade
Copy link

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
@tikiwade tikiwade added the bug We can reproduce the issue and confirmed it is a bug. label Dec 22, 2024
@justinmk3 justinmk3 added auth-credentials authentication, authorization, credentials, AWS Builder ID, sso amazon-q labels Dec 23, 2024
@justinmk3 justinmk3 changed the title invalid_grant issue invalid_grant after login with Q for Eclipse Dec 23, 2024
@justinmk3
Copy link
Contributor

Can you provide the Amazon Q logs?

  1. In the vscode command palette, run Amazon Q: View Logs. This reveals the Output panel with Amazon Q Logs selected.
  2. Click the gear icon and choose Debug, then click it again and choose Set As Default.
  3. Perform the steps to reproduce the issue.
  4. Remove any private info from the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazon-q auth-credentials authentication, authorization, credentials, AWS Builder ID, sso bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants