aws/aws-toolkit-vscode

Codecatalyst login problem (re-login needed?)

mansourshams opened this issue · 2 comments

Problem

I have created an IAM with Admin access and have no problem logging from the VScode. When I am installing AWS Toolkit, there is a login under Code Catalyst. When I enter the same credentials it provides [object object] error

Steps to reproduce the issue

Expected behavior

To be logged in and no need for a second login

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

  • OS: Windows
  • Visual Studio Code version: 1.95.1
  • AWS Toolkit version: v3.31.0
  • Amazon Q version: Not used

CodeCatalyst requires either a Builder Id or IdC (Identity Center) credentials, which you must connect to your CodeCatalyst account. https://docs.aws.amazon.com/codecatalyst/latest/userguide/sign-in-sso.html

When I enter the same credentials it provides [object object] error

This sounds like a bug, AWS Toolkit should show a more useful message. Can you provide the AWS Toolkit logs?

  1. In the vscode command palette, run AWS: View Logs. This reveals the Output panel with AWS Toolkit 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.