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

Unable to login to Amazon Q- ssoSetup encountered an error #6057

Open
raukstartech opened this issue Nov 20, 2024 · 1 comment
Open

Unable to login to Amazon Q- ssoSetup encountered an error #6057

raukstartech opened this issue Nov 20, 2024 · 1 comment
Labels
amazonq auth-credentials authentication, authorization, credentials, AWS Builder ID, sso bug We can reproduce the issue and confirmed it is a bug.

Comments

@raukstartech
Copy link

Problem

I can't login to Amazon Q although I have a license. It works for my colleagues. I have tried to uninstall and install, I tried before and after updating VS Code to the latest version, I have my computer updated as per my company recommendations. I have tried everything even remotely applicable in the troubleshooting documentation. I use the AWS Toolkit with no issues, sso works and I use the aws cli and work locally- no problem.

Steps to reproduce the issue

  1. Go to the extension in Visual Studio Code
  2. I see 'Connect with existing account' and choose 'use with pro license' (as I should per my organisations instructions, I have a license)
  3. Sign in with AWS IAM Identity Center: i pick my company landing page https://.awsapps.com/start, and eu-west-1 per my organisation's instructions
  4. I get a pop up in the browser: Allow AWS IDE Extensions for VSCode to access your data?
  5. I press allow and get
    Request approved AWS IDE Extensions for VS Code have been given requested permissions
  6. I go back to Visual studio code and have these logs:
2024-11-20 10:13:21.507 [info] auth: Updating connection state of <some_uuid> to authenticating
2024-11-20 10:13:21.508 [info] codewhisperer: connection changed to authenticating: <some_uuid>
2024-11-20 10:13:21.509 [info] current client registration id=undefined
    expires at undefined
    key = <some_uuid>
2024-11-20 10:13:53.181 [info] telemetry: sent batch (size=2)
2024-11-20 10:14:08.023 [error] Unable to find c:\Users\<my_user>\.vscode\extensions\amazonwebservices.amazon-q-vscode-1.36.0\dist\src\auth\sso\vue\favicon.ico
2024-11-20 10:14:08.083 [error] API response ([ 'oidc.eu-west-1.amazonaws.com', '/token', [Object] ] { logID: 159 }): %O
2024-11-20 10:14:08.089 [error] ssoSetup encountered an error: [ [v] ]
2024-11-20 10:14:08.089 [error] webviewId="aws.amazonq.AmazonCommonAuth": [ [v] ]

Expected behavior

I expect to login successfully and start to use Amazon Q

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

  • OS: Windows_NT x64 10.0.22631
  • Visual Studio Code version: Visual Studio Code extension host: 1.95.3
  • AWS Toolkit version: 3.34.0
  • Amazon Q version: 1.36.0
@raukstartech raukstartech added the bug We can reproduce the issue and confirmed it is a bug. label Nov 20, 2024
@jpinkney-aws
Copy link
Contributor

Does any more information pop up anywhere regarding these errors?:

2024-11-20 10:14:08.089 [error] ssoSetup encountered an error: [ [v] ]
2024-11-20 10:14:08.089 [error] webviewId="aws.amazonq.AmazonCommonAuth": [ [v] ]

@jpinkney-aws jpinkney-aws added amazonq auth-credentials authentication, authorization, credentials, AWS Builder ID, sso labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazonq 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