aws / aws/aws-toolkit-vscode

SSO: does not cancel timeout if "AWS: Choose AWS Profile" switches to different profile

Open
#1,860 1 comment 0 reactions 0 assignees View on GitHub
auth-credentials bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

steps to reproduce:

1. run `AWS: Choose AWS Profile`
2. select a SSO profile
3. do _not_ complete the SSO flow
4. run `AWS: Choose AWS Profile` and choose a different profile
5. wait a long time
5. the SSO timeout from the first attempt eventually times out, and an error is shown

Contributor guide

Open the contributing guide

Research direction

Start by tracing the `AWS: Choose AWS Profile` command through the SSO flow and its timeout handling. Reproduce the two-profile sequence, then verify that switching profiles prevents the abandoned first SSO attempt from later displaying its timeout error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.