Skip to content

Unable to connect with profile credentials #6230

@PanosBougas

Description

@PanosBougas

Problem

Cannot connect to AWS using my profile after latest patch.

Steps to reproduce the issue

  1. Go to Command Palette and hit 'Connect to AWS'
  2. Use a profile to connect
  3. See error 'Unable to authenticate connection'
  4. Output:
2024-12-13 14:07:08.003 [info] auth: Updating connection state of profile:dev to authenticating
2024-12-13 14:07:08.005 [info] auth: Handling validation error of connection: profile:dev
2024-12-13 14:07:08.005 [info] auth: Updating connection state of profile:dev to invalid
2024-12-13 14:07:08.005 [error] _aws.toolkit.auth.reauthenticate: Error: Unable to authenticate connection
	 -> Error: SSO cache data unexpectedly missing props: ["refreshToken"]

The previous Toolkit version didn't have that issue.

  • OS: Windows 11 23H2
  • Visual Studio Code version: 1.95.3
  • AWS Toolkit version: 3.39.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth-credentialsauthentication, authorization, credentials, AWS Builder ID, ssobugWe can reproduce the issue and confirmed it is a bug.pending-release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions