microsoft / microsoft/vscode-azureresourcegroups

"RESOURCES" and  "ACCOUNTS & TENANTS" views keep "Waiting for Azure sign-in..." status after clicking the "Cancel" button during the second account sign-in process

Open
#989 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI
Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

OS: Mac (M1 Pro)/Linux
Build Version: v0.10.0
Regression: Not a regression

Repro Steps:

  1. Set "Microsoft-authentication: Implementation" to "msal" in "Settings" page.
    Image
  2. Make sure logged into 1 Microsoft account.
  3. F1 -> Select "Azure: Sign in" -> Click the "Allow" button -> Select "Sign in to another account" to open the browser.
  4. Return to VS Code -> Click the "Cancel" button -> Select "Cancel" to cancel sign-in.
    Image
  5. Check whether "RESOURCES" and "ACCOUNTS & TENANTS" views show well.

Expect:
"RESOURCES" and "ACCOUNTS & TENANTS" views show well.

Actual:
"RESOURCES" and "ACCOUNTS & TENANTS" views keep "Waiting for Azure sign-in..." status.
Image

More Info:

  1. This issue does not reproduce if setting "Microsoft-authentication: Implementation" to "classic" in "Settings" page.
  2. Reload Window can resolve this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by using the msal implementation, signing in to a second account, and cancelling from the Azure sign-in flow. Trace how cancellation updates the RESOURCES and ACCOUNTS & TENANTS views, then verify that both views leave the "Waiting for Azure sign-in..." state without requiring a window reload.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.