Codewhisperer identity center setup

0

Hello,

I followed the instructions in this video for setting up codewhisperer in this video using identity center.

https://www.youtube.com/watch?v=o02r4nPjvH4&t=377s

however I get the following error when visual studio code tries to connect after matching code is accepted in the browser

2023-12-24 22:44:59 [ERROR]: API response (oidc.us-east-1.amazonaws.com /token): { name: 'AccessDeniedException', '$fault': 'client', '$metadata': { httpStatusCode: 400, requestId: 'e45b66a9-cfhe-4h42-881f-97eb86deb1y9', extendedRequestId: undefined, cfId: undefined }, error: 'access_denied', error_description: 'Access denied', message: 'UnknownError' }

2023-12-24 22023-12-24 22:44:59 [ERROR]: webviewId="authWebview": Error: Webview error -> Error: Webview backend command failed: "startCWIdentityCenterSetup()" -> Error: Failed to connect to IAM Identity Center [FailedToConnect] -> AccessDeniedException: UnknownError2:45:07 [WARN]: Metric Event did not pass validation: Metric toolkit_viewLogs was emitted without the result property. This property is always required. Consider using .run() instead of .emit(), which will set these properties automatically. See https://github.com/aws/aws-toolkit-vscode/blob/master/docs/telemetry.md#guidelines

asked a year ago475 views
2 Answers
0

can you try using AWS Builder Id, here are the instructions, https://catalog.workshops.aws/qbuilder/en-US/10-start-workshop/16-builder-id

AWS
answered a year ago
0

Please check if you provided enough permissions, you might need to check if your group (where users belong) has proper access to CodeWhisperer application.

Authorizing professional developers to use CodeWhisperer

AWS
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions