Codecatalyst login problem (re-login needed?)
mansourshams opened this issue · 2 comments
mansourshams commented
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
justinmk3 commented
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?
- In the vscode command palette, run
AWS: View Logs
. This reveals the Output panel withAWS Toolkit Logs
selected. - Click the gear icon and choose
Debug
, then click it again and chooseSet As Default
. - Perform the steps to reproduce the issue.
- Remove any private info from the logs.
mansourshams commented
```
2024-11-07 13:00:58.651 [debug] Webview called command "storeMetricMetadata" with args: [ { credentialSourceId: 'sharedCredentials' } ]2024-11-07 13:00:58.652 [debug] Webview called command "emitUiClick" with args: [ 'auth_credentialsOption' ]2024-11-07 13:00:58.652 [debug] telemetry: ui_click2024-11-07 13:01:02.087 [debug] Webview called command "emitUiClick" with args: [ 'auth_continueButton' ]2024-11-07 13:01:02.087 [debug] telemetry: ui_click2024-11-07 13:01:03.655 [debug] Webview called command "startIamCredentialSetup" with args: [ 'userid', 'access key', 'secret key']2024-11-07 13:01:03.656 [debug] called startIamCredentialSetup()2024-11-07 13:01:03.656 [debug] auth: "instance" provider unavailable2024-11-07 13:01:03.656 [debug] auth: "instance" provider unavailable2024-11-07 13:01:03.656 [debug] auth: "variables" provider unavailable2024-11-07 13:01:03.657 [debug] telemetry: aws_loadCredentials2024-11-07 13:01:03.659 [debug] telemetry: aws_loadCredentials2024-11-07 13:01:03.683 [debug] telemetry: auth_modifyConnection
2024-11-07 13:01:03.912 [debug] telemetry: auth_modifyConnection2024-11-07 13:01:03.912 [debug] auth: "instance" provider unavailable2024-11-07 13:01:03.913 [debug] auth: "instance" provider unavailable2024-11-07 13:01:03.913 [debug] auth: "variables" provider unavailable2024-11-07 13:01:03.925 [debug] telemetry: aws_loadCredentials2024-11-07 13:01:03.929 [debug] telemetry: auth_modifyConnection2024-11-07 13:01:03.938 [error] Failed submitting credentials2024-11-07 13:01:03.938 [debug] telemetry: auth_addConnection2024-11-07 13:01:03.940 [debug] Webview called command "errorNotification" with args: [ { id: 'aws.toolkit.AmazonCommonAuth', text: {} } ]2024-11-07 13:01:03.940 [debug] Webview called command "emitUiClick" with args: [ 'auth_continueButton' ]2024-11-07 13:01:03.940 [debug] telemetry: ui_click
```