Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Authentication growing list of creds, odd behavior #179202

Closed
monil-patel opened this issue Apr 4, 2023 · 20 comments
Closed

Microsoft Authentication growing list of creds, odd behavior #179202

monil-patel opened this issue Apr 4, 2023 · 20 comments
Assignees
Labels
authentication Issues with the Authentication platform bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@monil-patel
Copy link

monil-patel commented Apr 4, 2023

⚠️ WORKAROUND ⚠️ : https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.77.0
  • OS Version: Windows 11

Apologies this won't be the clearest report since we are having a hard time coming to a minimum repro and are confused ourselves. But we have been seeing very weird behavior with the Microsoft Authentication flow. Feel free to reach out to me on teams happy to talk it through.

Growing list of credentials.
On several of our machines we are seeing hundreds of entries in the windows credential manager seemingly over time for microsoft authentication. And eventually this results in the credmanager being too full, and requiring users to sign in repeatedly.

An example of this at a small scale. We have 2 extensions that both use microsoft auth

Signed into Extension A. This does hit two different apis so 4 chunked entries is reasonable
image

Signed into Extension B. This hits one api so an additional 2 entries is reasonable
image

Just reloading vscode a few different times led to a state where we lost a stored entry chunk for ...c44
image

This means on the next reload we had to re-sign in since there wasnt a valid token found.
This led to 2 new entries for the new token. But somehow(?) the c44 and c44-1 chunk came back? But we also just re-authenticatd. so our list has now grown for no reason. Our team owns several extensions and relies on microsoft authentication so we are worried about this growing when signed into multiple
image

We tried to figure out some sort of pattern to this, looks like there was some logic added to delete existing tokens and wondering if it could be some sort of race condition happening? We didnt specifically notice this behavior in 1.76 so also wondering if it could be related to the changes in 1.77

@vscodenpa
Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@TylerLeonhardt
Copy link
Member

You sure this didn't happen in 1.76 and is hangover from then? Can you clean those up and try from scratch with 1.77 and tell me if you still see the issue

We added a fix for this in 1.77 so I would expect that it would stop doing this from now on.

@TylerLeonhardt TylerLeonhardt added the info-needed Issue requires more information from poster label Apr 4, 2023
@monil-patel
Copy link
Author

I had actually made a fresh VM and ensured vscode was on 1.77.0 and those screenshots I took are from that environment setup

@winstliu
Copy link
Member

winstliu commented Apr 4, 2023

I was looking into this with Monil and while my setup isn't as "pristine" as his, I started the day on 1.77.0 by wiping my credential manager and have grown back up to 41(!) entries (shared between 6 extensions) over the course of repeatedly closing and re-opening VS Code throughout the day.

@monil-patel
Copy link
Author

monil-patel commented Apr 4, 2023

We know the mulitple extensions just makes the numbers harder to count which is why i went with the VM and tried specifically 2 extensions to see if it would keep happening.

Just checked my VM out of curiosity of
We do see this error in the microsoft authentication output + and got prompted to log in again for one of our extensions.
image

But the creds themselves didnt change still have 8 which was expected based on my previous run
image

@TylerLeonhardt
Copy link
Member

Do you have multiple windows of VS Code open?

@monil-patel
Copy link
Author

Not in my VM test, just a single instance that I will close and open. The error doesnt happen each time but after 2-3 something typically happens

@TylerLeonhardt
Copy link
Member

Can you follow these steps so that we can get more information on what's going on?

  • Open the Command Palette
  • Run the Developer: Set Log Level... command
  • Find Trace and click on the double check button on the right ✔ ✔
  • Wait for the issue to happen...
  • Open the Output pane (ctrl+shift+u I think on Windows)
  • drop in this issue he contents of the following:
    • Microsoft Authentication Output channel

    • Log (Main) Output channel

@monil-patel
Copy link
Author

Ok classic bug repro didnt get exactly the same behavior as the first time, but I did get it to grow by a 2-chunk entry.

  • Cleared out all of the creds from the manager
  • Signed back into my 2 extensions (6 entries in the credman)
  • reloaded a few times (a bit more than originally)
  • Got to a state where my credential manager now has a new 2-chunked entry that wasnt there before. So it now has 8 entires in credman
Microsoft Authentication
2023-04-04 16:18:38.379 [info] Reading sessions from secret storage...
2023-04-04 16:18:38.424 [info] Got 3 stored sessions
2023-04-04 16:18:38.424 [trace] Read the following stored session with scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.424 [info] Refreshing token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.427 [trace] Read the following stored session with scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:38.427 [info] Refreshing token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:38.428 [trace] Read the following stored session with scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.428 [info] Refreshing token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.801 [info] Setting token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.801 [info] Token refresh success for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.802 [info] Stored token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.857 [info] Setting token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:38.857 [info] Token refresh success for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:38.897 [info] Setting token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.897 [info] Token refresh success for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.902 [info] Getting sessions for all scopes...
2023-04-04 16:18:38.902 [info] Got 3 sessions for all scopes...
2023-04-04 16:18:38.904 [info] Stored token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:38.904 [info] Stored token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.904 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-04 16:18:38.904 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
2023-04-04 16:18:38.904 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-04-04 16:18:38.907 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.907 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:38.907 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3802990 milliseconds
2023-04-04 16:18:39.025 [info] Session removed in another window with scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:39.025 [info] Logging out of session '72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04'
2023-04-04 16:18:39.025 [info] Sending change event for session that was removed with scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:39.025 [info] Logged out of session '72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04' with scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:18:39.032 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-04 16:18:39.032 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
2023-04-04 16:18:39.032 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-04-04 16:18:39.899 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:39.899 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:39.899 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3979903 milliseconds
2023-04-04 16:18:41.085 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:41.085 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:18:41.085 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3978716 milliseconds
2023-04-04 16:19:04.661 [info] Getting sessions for the following scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:04.661 [trace] No session found with idtoken scopes... Using fallback scope list of: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser offline_access
2023-04-04 16:19:04.661 [info] Refreshing token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:04.661 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:04.661 [info] Refreshing in progress. Waiting for completion before continuing.
2023-04-04 16:19:05.027 [info] Setting token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:05.027 [info] Token refresh success for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:05.028 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:05.028 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3954774 milliseconds
2023-04-04 16:19:05.028 [info] Got 1 sessions for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:05.028 [info] Token available from cache (for scopes VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile), expires in 4872999 milliseconds
2023-04-04 16:19:05.028 [info] Stored token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-04 16:19:05.294 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:05.294 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:05.294 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3954507 milliseconds
2023-04-04 16:19:05.802 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:05.803 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:19:05.803 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3953999 milliseconds
2023-04-04 16:20:40.835 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:40.835 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:40.835 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3858966 milliseconds
2023-04-04 16:20:41.062 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:41.062 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:41.062 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3858738 milliseconds
2023-04-04 16:20:41.296 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:41.296 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-04 16:20:41.296 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 3858504 milliseconds
Log (Main) Output
2023-04-04 16:18:36.035 [trace] PolicyConfiguration#initialize
2023-04-04 16:18:36.035 [trace] PolicyConfiguration#updatePolicyDefinitions ["http.proxy","http.proxyStrictSSL","http.proxyAuthorization","http.proxySupport","http.systemCertificates","telemetry.telemetryLevel","telemetry.enableTelemetry","update.mode","update.channel","update.enableWindowsBackgroundUpdates","update.showReleaseNotes"]
2023-04-04 16:18:36.035 [trace] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions
2023-04-04 16:18:36.035 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\AppData\Roaming\Code\User (excludes: <none>, includes: <all>),c:\Users\mopatel\AppData\Roaming\Code\User\settings.json (excludes: <none>, includes: <all>)
2023-04-04 16:18:36.037 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2023-04-04 16:18:36.037 [trace] PolicyConfiguration#update ["update.mode"]
2023-04-04 16:18:36.037 [debug] Starting VS Code
2023-04-04 16:18:36.037 [debug] from: c:\Program Files\Microsoft VS Code\resources\app
2023-04-04 16:18:36.037 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"version":false,"verbose":false,"log":["trace"],"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-gpu":false,"ms-enable-electron-run-as-node":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"disable-keytar":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-id":"0620c910-0fd5-41a2-b54f-b0eee4237c12","skip-add-to-recently-opened":false,"unity-launch":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"trace":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"no-proxy-server":false,"no-sandbox":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":false,"profile-temp":false,"logsPath":"C:\\Users\\mopatel\\AppData\\Roaming\\Code\\logs\\20230404T161835"}
2023-04-04 16:18:36.037 [trace] Resolving machine identifier...
2023-04-04 16:18:36.037 [trace] Resolved machine identifier: 4c92c3d56e4a2604ba245589b535a5d9808b1243a82584697555708caa81f2b0
2023-04-04 16:18:36.037 [info] [SharedProcess] using utility process
2023-04-04 16:18:36.037 [trace] Main->SharedProcess#connect
2023-04-04 16:18:36.037 [trace] StorageMainService: creating application storage
2023-04-04 16:18:36.040 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2023-04-04 16:18:36.041 [trace] lifecycle (main): phase changed (value: 2)
2023-04-04 16:18:36.041 [trace] windowsManager#open
2023-04-04 16:18:36.043 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"6178d45deb127d994f2db65fa2be1fde","uri":{"$mid":1,"fsPath":"d:\\repos\\devprod.reactresearch","_sep":1,"path":"/d:/repos/devprod.reactresearch","scheme":"file"}},"type":2,"exists":true}]
2023-04-04 16:18:36.044 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"6178d45deb127d994f2db65fa2be1fde","uri":{"$mid":1,"fsPath":"d:\\repos\\devprod.reactresearch","_sep":1,"external":"file:///d%3A/repos/devprod.reactresearch","path":"/d:/repos/devprod.reactresearch","scheme":"file"}},"type":2,"exists":true}}
2023-04-04 16:18:36.045 [trace] IPC Object URL: Registered new channel vscode:d244077b-572b-4352-9ade-13392e529c97.
2023-04-04 16:18:36.045 [trace] window#validateWindowState: validating window state on 2 display(s) {"mode":1,"x":145,"y":78,"width":1391,"height":1147}
2023-04-04 16:18:36.045 [trace] window#validateWindowState: multi-monitor working area {"x":0,"y":0,"width":3440,"height":1392}
2023-04-04 16:18:36.045 [trace] window#ctor: using window state {"mode":1,"x":145,"y":78,"width":1391,"height":1147}
2023-04-04 16:18:36.089 [trace] window#load: attempt to load window (id: 1)
2023-04-04 16:18:36.106 [trace] StorageMainService: creating workspace storage (6178d45deb127d994f2db65fa2be1fde)
2023-04-04 16:18:36.107 [trace] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, emptyToOpen: 0)
2023-04-04 16:18:36.107 [trace] lifecycle (main): phase changed (value: 3)
2023-04-04 16:18:36.113 [trace] resolveShellEnv(): skipped (Windows)
2023-04-04 16:18:36.113 [info] update#setState idle
2023-04-04 16:18:36.132 [trace] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\mopatel\AppData\Roaming\Code\User\settings.json'
2023-04-04 16:18:36.143 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\AppData\Roaming\Code\User'
2023-04-04 16:18:36.211 [trace] resolveShellEnv(): skipped (Windows)
2023-04-04 16:18:36.265 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:36.265 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:36.266 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:36.266 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:36.342 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:36.635 [trace] Getting password from keytar: vscode.login account
2023-04-04 16:18:36.638 [trace] Did not get a password from keytar for account: account
2023-04-04 16:18:36.762 [trace] window#load: window reported ready (id: 1)
2023-04-04 16:18:36.763 [trace] ElectronURLListener#flush(): flushing URLs
2023-04-04 16:18:36.798 [trace] [SharedProcess] on vscode:createSharedProcessMessageChannel
2023-04-04 16:18:36.799 [info] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2023-04-04 16:18:36.801 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2023-04-04 16:18:36.802 [info] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2023-04-04 16:18:36.815 [info] [UtilityProcess type: shared-process, pid: 15904]: successfully created
2023-04-04 16:18:36.826 [info] [UtilityProcess id: 1, type: fileWatcher, pid: 9268]: successfully created
2023-04-04 16:18:36.942 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:36.942 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:36.943 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:36.943 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.006 [info] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2023-04-04 16:18:37.029 [info] [UtilityProcess id: 1, type: extensionHost, pid: 14212]: successfully created
2023-04-04 16:18:37.029 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.096 [trace] [SharedProcess] IPC ready
2023-04-04 16:18:37.096 [trace] Main->SharedProcess#connect: connection established
2023-04-04 16:18:37.109 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\AppData\Roaming\Code\User (excludes: <none>, includes: <all>),c:\Users\mopatel\AppData\Roaming\Code\User\settings.json (excludes: <none>, includes: <all>)
2023-04-04 16:18:37.114 [trace] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\mopatel\AppData\Roaming\Code\User\settings.json'
2023-04-04 16:18:37.117 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\AppData\Roaming\Code\User'
2023-04-04 16:18:37.191 [trace] [SharedProcess] Overall ready
2023-04-04 16:18:37.199 [trace] resolveShellEnv(): skipped (Windows)
2023-04-04 16:18:37.265 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\.vscode\extensions (excludes: <none>, includes: <all>),c:\Users\mopatel\.vscode\extensions\extensions.json (excludes: <none>, includes: <all>)
2023-04-04 16:18:37.270 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\.vscode\extensions'
2023-04-04 16:18:37.272 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\.vscode\extensions\extensions.json'
2023-04-04 16:18:37.476 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.476 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.477 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.477 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.479 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.479 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.480 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.480 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.551 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.564 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.595 [trace] resolveShellEnv(): skipped (Windows)
2023-04-04 16:18:37.796 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.796 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.797 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.797 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.798 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.798 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.799 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:37.799 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.880 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:37.881 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.197 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.197 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.198 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.198 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.200 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.200 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.201 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.201 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.214 [trace] Getting password from keytar: vscode.login account
2023-04-04 16:18:38.215 [trace] Did not get a password from keytar for account: account
2023-04-04 16:18:38.271 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.281 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.333 [trace] Getting password from keytar: vscodevscode.github-authentication github.auth
2023-04-04 16:18:38.335 [trace] Did not get a password from keytar for account: github.auth
2023-04-04 16:18:38.374 [trace] Getting password from keytar: vscodevscode.microsoft-authentication microsoft.login.keylist
2023-04-04 16:18:38.376 [trace] Got password from keytar for account: microsoft.login.keylist
2023-04-04 16:18:38.408 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.410 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.410 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.411 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.411 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.413 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.413 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.414 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.414 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.416 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.417 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.417 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.418 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:38.418 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.493 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.494 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:38.626 [trace] lifecycle (main): phase changed (value: 4)
2023-04-04 16:18:38.846 [trace] Setting password using keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.854 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.881 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.907 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.909 [trace] Setting password using keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.910 [trace] Setting password using keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.913 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.914 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
2023-04-04 16:18:38.921 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.922 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.936 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.938 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
2023-04-04 16:18:38.941 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.943 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.949 [error] TypeError: Cannot read properties of null (reading 'content')
    at f.k (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:8784)
    at async f.getPassword (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:8341)
2023-04-04 16:18:38.978 [trace] Setting password using keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.980 [error] TypeError: Cannot read properties of null (reading 'hasNextChunk')
    at f.m (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:10305)
    at async f.l (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:9285)
    at async f.setPassword (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:9058)
2023-04-04 16:18:38.982 [trace] Deleted 1-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:38.997 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:39.011 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:39.018 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:39.031 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:39.033 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
2023-04-04 16:18:39.119 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.119 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.121 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.121 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.122 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.122 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.123 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.123 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.197 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.197 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.570 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.570 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.572 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.572 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.573 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.573 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.574 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:39.574 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.649 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:39.650 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.165 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:40.165 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.166 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:40.166 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.172 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:40.172 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.173 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:40.173 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.256 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:40.256 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.299 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:41.299 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.300 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:41.300 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.301 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:41.301 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.302 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:18:41.302 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.377 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:18:41.377 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.032 [trace] Setting password using keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
2023-04-04 16:19:05.033 [trace] Setting password using keytar: vscodevscode.microsoft-authentication microsoft.login.keylist
2023-04-04 16:19:05.033 [trace] Did not get a password to delete from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
2023-04-04 16:19:05.034 [trace] Deleted password from keytar for account: microsoft.login.keylist
2023-04-04 16:19:05.035 [trace] Set password from keytar for account: microsoft.login.keylist
2023-04-04 16:19:05.069 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
2023-04-04 16:19:05.071 [trace] Getting password from keytar: vscodevscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
2023-04-04 16:19:05.077 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
2023-04-04 16:19:05.246 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.246 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.246 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.247 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.248 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.248 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.248 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.248 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.321 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.322 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.526 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.526 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.527 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.527 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.528 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.528 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.529 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:05.529 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.602 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:05.602 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.027 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:06.027 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.028 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:06.028 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.029 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:06.029 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.030 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:06.030 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.101 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.103 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:06.117 [trace] update#checkForUpdates, state =  idle
2023-04-04 16:19:06.117 [info] update#setState checking for updates
2023-04-04 16:19:06.117 [trace] resolveShellEnv(): skipped (Windows)
2023-04-04 16:19:06.184 [info] update#setState idle
2023-04-04 16:19:09.815 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:09.815 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:09.816 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:09.816 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:09.817 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:09.817 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:09.818 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:19:09.818 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:09.891 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:19:09.892 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.051 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.051 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.051 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.052 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.053 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.053 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.054 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.054 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.127 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.127 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.269 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.270 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.270 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.270 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.272 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.272 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.272 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.273 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.346 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.346 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.506 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.506 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.508 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.508 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.509 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.509 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.510 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-04 16:20:41.510 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.583 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-04 16:20:41.583 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
Cred Manager
// So first we have 6 entries here across 2 extensions
PS C:\Users\mopatel> cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*vscodevscode.microsoft-authentication/72f988*"){echo $_}}
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf-1
    
// After a series of exits/opens I got to this state where theres a new entry   
PS C:\Users\mopatel> cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*vscodevscode.microsoft-authentication/72f988*"){echo $_}}
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9

@monil-patel
Copy link
Author

Update - tried again this morning. Same basic steps of just exiting and opening vscode

  1. I was signed into both extension A, extension B. credman has 8 entries
  2. exist vscode and reopen
  3. I was signed out of both extensions in vscode
  4. credman list grew by 2 : total 10 entries
Microsoft Authentication
2023-04-05 07:57:06.879 [info] Reading sessions from secret storage...
2023-04-05 07:57:06.879 [info] Got 0 stored sessions
2023-04-05 07:57:06.879 [info] Getting sessions for all scopes...
2023-04-05 07:57:06.879 [info] Got 0 sessions for all scopes...
2023-04-05 07:57:06.879 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-05 07:57:06.879 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
2023-04-05 07:57:06.879 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-04-05 07:57:07.048 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-05 07:57:07.048 [trace] No session found with idtoken scopes... Using fallback scope list of: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 offline_access
2023-04-05 07:57:07.048 [info] Got 0 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-05 07:57:07.058 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-05 07:57:07.058 [trace] No session found with idtoken scopes... Using fallback scope list of: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 offline_access
2023-04-05 07:57:07.058 [info] Got 0 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-05 07:57:07.812 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-05 07:57:07.812 [trace] No session found with idtoken scopes... Using fallback scope list of: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 offline_access
2023-04-05 07:57:07.812 [info] Got 0 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
Main Log
2023-04-05 07:57:04.810 [trace] PolicyConfiguration#initialize
2023-04-05 07:57:04.811 [trace] PolicyConfiguration#updatePolicyDefinitions ["http.proxy","http.proxyStrictSSL","http.proxyAuthorization","http.proxySupport","http.systemCertificates","telemetry.telemetryLevel","telemetry.enableTelemetry","update.mode","update.channel","update.enableWindowsBackgroundUpdates","update.showReleaseNotes"]
2023-04-05 07:57:04.811 [trace] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions
2023-04-05 07:57:04.811 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\AppData\Roaming\Code\User (excludes: <none>, includes: <all>),c:\Users\mopatel\AppData\Roaming\Code\User\settings.json (excludes: <none>, includes: <all>)
2023-04-05 07:57:04.814 [trace] NativePolicyService#_onDidPolicyChange - Updated policy values: {}
2023-04-05 07:57:04.814 [trace] PolicyConfiguration#update ["update.mode"]
2023-04-05 07:57:04.814 [debug] Starting VS Code
2023-04-05 07:57:04.814 [debug] from: c:\Program Files\Microsoft VS Code\resources\app
2023-04-05 07:57:04.814 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"version":false,"verbose":false,"log":["trace"],"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-gpu":false,"ms-enable-electron-run-as-node":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"disable-keytar":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-id":"0620c910-0fd5-41a2-b54f-b0eee4237c12","skip-add-to-recently-opened":false,"unity-launch":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"trace":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"no-proxy-server":false,"no-sandbox":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":false,"profile-temp":false,"logsPath":"C:\\Users\\mopatel\\AppData\\Roaming\\Code\\logs\\20230405T075704"}
2023-04-05 07:57:04.814 [trace] Resolving machine identifier...
2023-04-05 07:57:04.814 [trace] Resolved machine identifier: 4c92c3d56e4a2604ba245589b535a5d9808b1243a82584697555708caa81f2b0
2023-04-05 07:57:04.814 [info] [SharedProcess] using utility process
2023-04-05 07:57:04.814 [trace] Main->SharedProcess#connect
2023-04-05 07:57:04.814 [trace] StorageMainService: creating application storage
2023-04-05 07:57:04.819 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2023-04-05 07:57:04.819 [trace] lifecycle (main): phase changed (value: 2)
2023-04-05 07:57:04.819 [trace] windowsManager#open
2023-04-05 07:57:04.821 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"6178d45deb127d994f2db65fa2be1fde","uri":{"$mid":1,"fsPath":"d:\\repos\\devprod.reactresearch","_sep":1,"path":"/d:/repos/devprod.reactresearch","scheme":"file"}},"type":2,"exists":true}]
2023-04-05 07:57:04.822 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"6178d45deb127d994f2db65fa2be1fde","uri":{"$mid":1,"fsPath":"d:\\repos\\devprod.reactresearch","_sep":1,"external":"file:///d%3A/repos/devprod.reactresearch","path":"/d:/repos/devprod.reactresearch","scheme":"file"}},"type":2,"exists":true}}
2023-04-05 07:57:04.823 [trace] IPC Object URL: Registered new channel vscode:327ec5dc-921a-4c9a-a1c4-6cf31cf7dbd5.
2023-04-05 07:57:04.823 [trace] window#validateWindowState: validating window state on 1 display(s) {"mode":1,"x":82,"y":0,"width":996,"height":1032}
2023-04-05 07:57:04.823 [trace] window#validateWindowState: 1 monitor working area {"x":0,"y":0,"width":1920,"height":1032}
2023-04-05 07:57:04.824 [trace] window#ctor: using window state {"mode":1,"x":82,"y":0,"width":996,"height":1032}
2023-04-05 07:57:04.862 [trace] window#load: attempt to load window (id: 1)
2023-04-05 07:57:04.879 [trace] StorageMainService: creating workspace storage (6178d45deb127d994f2db65fa2be1fde)
2023-04-05 07:57:04.879 [trace] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, emptyToOpen: 0)
2023-04-05 07:57:04.880 [trace] lifecycle (main): phase changed (value: 3)
2023-04-05 07:57:04.885 [trace] resolveShellEnv(): skipped (Windows)
2023-04-05 07:57:04.886 [info] update#setState idle
2023-04-05 07:57:04.909 [trace] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\mopatel\AppData\Roaming\Code\User\settings.json'
2023-04-05 07:57:04.917 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\AppData\Roaming\Code\User'
2023-04-05 07:57:04.996 [trace] resolveShellEnv(): skipped (Windows)
2023-04-05 07:57:05.033 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:05.033 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.034 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:05.034 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.117 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.418 [trace] Getting password from keytar: vscode.login account
2023-04-05 07:57:05.421 [trace] Did not get a password from keytar for account: account
2023-04-05 07:57:05.542 [trace] window#load: window reported ready (id: 1)
2023-04-05 07:57:05.542 [trace] ElectronURLListener#flush(): flushing URLs
2023-04-05 07:57:05.573 [trace] [SharedProcess] on vscode:createSharedProcessMessageChannel
2023-04-05 07:57:05.574 [info] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2023-04-05 07:57:05.576 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2023-04-05 07:57:05.576 [info] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2023-04-05 07:57:05.587 [info] [UtilityProcess type: shared-process, pid: 11396]: successfully created
2023-04-05 07:57:05.597 [info] [UtilityProcess id: 1, type: fileWatcher, pid: 10940]: successfully created
2023-04-05 07:57:05.718 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:05.718 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.720 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:05.720 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.746 [info] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2023-04-05 07:57:05.762 [info] [UtilityProcess id: 1, type: extensionHost, pid: 14232]: successfully created
2023-04-05 07:57:05.798 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:05.828 [trace] [SharedProcess] IPC ready
2023-04-05 07:57:05.828 [trace] Main->SharedProcess#connect: connection established
2023-04-05 07:57:05.847 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\AppData\Roaming\Code\User (excludes: <none>, includes: <all>),c:\Users\mopatel\AppData\Roaming\Code\User\settings.json (excludes: <none>, includes: <all>)
2023-04-05 07:57:05.851 [trace] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\mopatel\AppData\Roaming\Code\User\settings.json'
2023-04-05 07:57:05.854 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\AppData\Roaming\Code\User'
2023-04-05 07:57:05.884 [trace] [SharedProcess] Overall ready
2023-04-05 07:57:05.892 [trace] resolveShellEnv(): skipped (Windows)
2023-04-05 07:57:05.963 [trace] [File Watcher (node.js)] Request to start watching: c:\Users\mopatel\.vscode\extensions (excludes: <none>, includes: <all>),c:\Users\mopatel\.vscode\extensions\extensions.json (excludes: <none>, includes: <all>)
2023-04-05 07:57:05.969 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\.vscode\extensions'
2023-04-05 07:57:05.970 [trace] [File Watcher (node.js)] Started watching: 'c:\Users\mopatel\.vscode\extensions\extensions.json'
2023-04-05 07:57:06.202 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.202 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.203 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.204 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.204 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.205 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.205 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.205 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.287 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.288 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.330 [trace] resolveShellEnv(): skipped (Windows)
2023-04-05 07:57:06.542 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.543 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.543 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.544 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.545 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.545 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.546 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.546 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.622 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.622 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.689 [trace] Getting password from keytar: vscode.login account
2023-04-05 07:57:06.690 [trace] Did not get a password from keytar for account: account
2023-04-05 07:57:06.743 [trace] Getting password from keytar: vscodevscode.github-authentication github.auth
2023-04-05 07:57:06.744 [trace] Did not get a password from keytar for account: github.auth
2023-04-05 07:57:06.871 [trace] Getting password from keytar: vscodevscode.microsoft-authentication microsoft.login.keylist
2023-04-05 07:57:06.872 [trace] Did not get a password from keytar for account: microsoft.login.keylist
2023-04-05 07:57:06.903 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.903 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.904 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.904 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.906 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.906 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.907 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:06.907 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.978 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:06.991 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.396 [trace] lifecycle (main): phase changed (value: 4)
2023-04-05 07:57:07.574 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:07.574 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.575 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:07.575 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.576 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:07.576 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.577 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:07.577 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.662 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:07.663 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.915 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:14.915 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.916 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:14.916 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.917 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:14.917 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.918 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-04-05 07:57:14.918 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.991 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:14.991 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\mopatel\AppData\Roaming\Code\User\globalStorage
2023-04-05 07:57:34.902 [trace] update#checkForUpdates, state =  idle
2023-04-05 07:57:34.902 [info] update#setState checking for updates
2023-04-05 07:57:34.902 [trace] resolveShellEnv(): skipped (Windows)
2023-04-05 07:57:34.968 [info] update#setState idle
credman entries
//Signed into both extensions had 8 entries in this list
PS C:\Users\mopatel> cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*vscodevscode.microsoft-authentication/72f988*"){echo $_}}
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9

//now have 10, but still signed out from extensions
PS C:\Users\mopatel> cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*vscodevscode.microsoft-authentication/72f988*"){echo $_}}
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/c658511d-2b7b-4503-8928-baf69848ae04-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/1a36667c-d8fc-4533-96ff-8488f680c3b6-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/4c052e03-d937-45ee-ab01-2359a3b2e460
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/2e3373af-e30d-4e3b-aaf3-91f88bbfbaaf-1
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/e4eb4980-7381-4b5b-98f3-186d88d0c1a9
    Target: LegacyGeneric:target=vscodevscode.microsoft-authentication/72f988bf-86f1-41af-91ab-2d7cd011db47/f934b166-8c65-428e-b8c8-a9fb4fb8687a/1a36667c-d8fc-4533-96ff-8488f680c3b6

@winstliu
Copy link
Member

winstliu commented Apr 5, 2023

Here's a hunch that I have on why this is happening (at least for the case where we see "Session removed in another window" even though we only have one window open):

  1. VS Code starts, activates the Microsoft Authentication extension
  2. Microsoft Auth waits for its login service to initialize: vscode/extension.ts at 1.77.1 · microsoft/vscode · GitHub
  3. initialize "waits" for every token to refresh: vscode/AADHelper.ts at 1.77.1 · microsoft/vscode · GitHub
  4. refreshToken ends up calling setToken to set the new refresh token: vscode/AADHelper.ts at 1.77.1 · microsoft/vscode · GitHub
  5. Except, setToken doesn't actually wait for the real store-to-cred-manager to finish: vscode/AADHelper.ts at 1.77.1 · microsoft/vscode · GitHub
  6. Which means the initialize loop returns and claims that the tokens have been refreshed before they're actually written to the cred manager
  7. At some point in the future, the actual store happens
  8. This store triggers an onDidChange event: vscode/betterSecretStorage.ts at 1.77.1 · microsoft/vscode · GitHub
  9. Because the store now involves a DELETE first, is it possible that there's a race condition here when it's seeing if the secret still exists? vscode/betterSecretStorage.ts at 1.77.1 · microsoft/vscode · GitHub
    • I don't fully understand this part, because I don't know what onDidChange is hooked up to (and reading credentialsMainService, it seems like onDidChangePassword should only fire after the token is re-written)
  10. But anyway, clearly that get doesn't return a storageSecretStr so _didChangeInOtherWindow fires
  11. So then we incorrectly log out of the session. vscode/AADHelper.ts at 1.77.1 · microsoft/vscode · GitHub

@TylerLeonhardt
Copy link
Member

I looked into this today... it's a tricky tricky one...

My hunch is that the issue is in credentialsMainService... and the reason I think that is because the Main Log has this error:

2023-04-04 16:18:38.949 [error] TypeError: Cannot read properties of null (reading 'content')
    at f.k (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:8784)
    at async f.getPassword (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:8341)

happening here:

and

2023-04-04 16:18:38.980 [error] TypeError: Cannot read properties of null (reading 'hasNextChunk')
    at f.m (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:10305)
    at async f.l (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:9285)
    at async f.setPassword (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:42:9058)

happening here:

hasNextChunk = result.hasNextChunk;

but these errors are totally unexpected... because hasNextChunk should have been false if there was no additional data.

Because these errors are thrown, we end up returning something different than the added up content:

and that is probably why you have issues.

Open questions:

  • Why is hasNextChunk wrong?
  • Is returning password instead of content the right thing? Probably not.

I'm thinking about getting rid of the concept of hasNextChunk... and rely on round trip to keytar being null to call out end of content... and then return what's left... but I'm not sure about that idea as that could be masking an issue.

@monil-patel
Copy link
Author

Not sure if its related, but also started seeing these errors more recently with Github Auth as well

image

@TylerLeonhardt
Copy link
Member

Yeah it's likely related. If it fails to get all the chunks then it's going to fail to decrypt.

@TylerLeonhardt
Copy link
Member

I just sent a PR (should be in tomorrow) that will maybe help... at the very least it will give me more logs to play with. Can you get the Insiders version of VS Code and let me know how it goes?

@winstliu
Copy link
Member

winstliu commented Apr 11, 2023

I still see this happening on 1.78.0-insider@079272e4a37ceecd22dcebc3566bb46c8580a13c, but anecdotally, less frequently than on stable where I can reliably get it to lose my credentials within 3 reloads.

Main
2023-04-11 15:38:10.402 [trace] Setting password using keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/edf4fffd-76b3-4bc9-95b4-af5e86822a36
2023-04-11 15:38:10.404 [trace] Setting password using keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/6f8b58d2-bc29-4b81-8342-3d52b518e794
2023-04-11 15:38:10.405 [trace] Setting password using keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3
2023-04-11 15:38:10.406 [trace] Setting password using keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/771ae278-8846-4540-8721-332080e2a76f
2023-04-11 15:38:10.427 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/771ae278-8846-4540-8721-332080e2a76f
2023-04-11 15:38:10.483 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/6f8b58d2-bc29-4b81-8342-3d52b518e794
2023-04-11 15:38:10.486 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3
2023-04-11 15:38:10.531 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/771ae278-8846-4540-8721-332080e2a76f
2023-04-11 15:38:10.534 [trace] Getting password from keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/771ae278-8846-4540-8721-332080e2a76f
2023-04-11 15:38:10.534 [trace] Deleted 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/edf4fffd-76b3-4bc9-95b4-af5e86822a36
2023-04-11 15:38:10.578 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/6f8b58d2-bc29-4b81-8342-3d52b518e794
2023-04-11 15:38:10.627 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3
2023-04-11 15:38:10.630 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/771ae278-8846-4540-8721-332080e2a76f
2023-04-11 15:38:10.636 [trace] Getting password from keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/6f8b58d2-bc29-4b81-8342-3d52b518e794
2023-04-11 15:38:10.637 [trace] Getting password from keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3
2023-04-11 15:38:10.637 [trace] Did not get a password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3
2023-04-11 15:38:10.638 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/6f8b58d2-bc29-4b81-8342-3d52b518e794
2023-04-11 15:38:10.689 [trace] Set 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/edf4fffd-76b3-4bc9-95b4-af5e86822a36
2023-04-11 15:38:10.697 [trace] Getting password from keytar: vscode-insidersvscode.microsoft-authentication 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/edf4fffd-76b3-4bc9-95b4-af5e86822a36
2023-04-11 15:38:10.755 [trace] Got 2-chunked password from keytar for account: 72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/edf4fffd-76b3-4bc9-95b4-af5e86822a36
Authentication
2023-04-11 15:37:46.644 [info] Reading sessions from secret storage...
2023-04-11 15:37:46.644 [error] Key was not found in SecretStorage.
2023-04-11 15:37:46.644 [info] Got 4 stored sessions
2023-04-11 15:37:46.644 [trace] Read the following stored session with scopes: email offline_access openid profile
2023-04-11 15:37:46.644 [info] Refreshing token for scopes: email offline_access openid profile
2023-04-11 15:37:46.644 [trace] Read the following stored session with scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:46.646 [info] Refreshing token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:46.646 [trace] Read the following stored session with scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:46.646 [info] Refreshing token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:46.646 [trace] Read the following stored session with scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:37:46.646 [info] Refreshing token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:37:47.677 [info] Setting token for scopes: email offline_access openid profile
2023-04-11 15:37:47.677 [info] Token refresh success for scopes: email offline_access openid profile
2023-04-11 15:37:47.940 [info] Setting token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:37:47.941 [info] Token refresh success for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:37:48.049 [info] Setting token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.049 [info] Token refresh success for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.096 [info] Setting token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.096 [info] Token refresh success for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.134 [info] Getting sessions for all scopes...
2023-04-11 15:37:48.134 [info] Got 4 sessions for all scopes...
2023-04-11 15:37:48.141 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-11 15:37:48.141 [info] Got 1 sessions for scopes: email offline_access openid profile
2023-04-11 15:37:48.141 [info] Token available from cache (for scopes email offline_access openid profile), expires in 4532536 milliseconds
2023-04-11 15:37:48.141 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.141 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:48.142 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 5154907 milliseconds
2023-04-11 15:37:49.494 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:49.494 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:49.494 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4632602 milliseconds
2023-04-11 15:37:50.047 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:50.047 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:37:50.047 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4632049 milliseconds
2023-04-11 15:38:10.388 [info] Stored token for scopes: email offline_access openid profile
2023-04-11 15:38:10.388 [info] Stored token for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:38:10.388 [info] Stored token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.388 [info] Stored token for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.639 [info] Session removed in another window with scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.639 [info] Logging out of session '72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3'
2023-04-11 15:38:10.639 [info] Sending change event for session that was removed with scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.639 [info] Logged out of session '72f988bf-86f1-41af-91ab-2d7cd011db47/58eeb6bc-7177-4e34-ba5b-089f64f616c6/1efa2532-01d7-499a-828e-1f326f1043c3' with scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.645 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-11 15:38:10.645 [info] Got 1 sessions for scopes: email offline_access openid profile
2023-04-11 15:38:10.645 [info] Token available from cache (for scopes email offline_access openid profile), expires in 4510032 milliseconds
2023-04-11 15:38:10.645 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-04-11 15:38:10.645 [info] Got 1 sessions for scopes: email offline_access openid profile
2023-04-11 15:38:10.645 [info] Token available from cache (for scopes email offline_access openid profile), expires in 4510032 milliseconds
2023-04-11 15:38:10.646 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.646 [trace] No session found with idtoken scopes... Using fallback scope list of: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 offline_access
2023-04-11 15:38:10.646 [info] Got 0 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/.default VSCODE_CLIENT_ID:496719b1-dc2e-4adb-9d15-48372642ccfb VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.646 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.647 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.647 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4611449 milliseconds
2023-04-11 15:38:10.663 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.663 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:10.663 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4611433 milliseconds
2023-04-11 15:38:16.329 [info] Getting sessions for the following scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:38:16.329 [info] Got 1 sessions for scopes: VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile
2023-04-11 15:38:16.329 [info] Token available from cache (for scopes VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 ea26ff51-7128-431d-a714-d6f3c6df55fc/WaveSpacesUser email offline_access openid profile), expires in 4408612 milliseconds
2023-04-11 15:38:16.330 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.330 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.330 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4605766 milliseconds
2023-04-11 15:38:16.443 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.443 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.443 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4605653 milliseconds
2023-04-11 15:38:16.505 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.505 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:38:16.505 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4605591 milliseconds
2023-04-11 15:39:50.325 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.325 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.325 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4511770 milliseconds
2023-04-11 15:39:50.444 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.444 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.444 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4511651 milliseconds
2023-04-11 15:39:50.554 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.554 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:39:50.554 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4511542 milliseconds
2023-04-11 15:40:10.874 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:10.874 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:10.875 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4491221 milliseconds
2023-04-11 15:40:10.996 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:10.996 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:10.996 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4491099 milliseconds
2023-04-11 15:40:11.105 [info] Getting sessions for the following scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:11.105 [info] Got 1 sessions for scopes: 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile
2023-04-11 15:40:11.105 [info] Token available from cache (for scopes 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation VSCODE_CLIENT_ID:ea26ff51-7128-431d-a714-d6f3c6df55fc VSCODE_TENANT:72f988bf-86f1-41af-91ab-2d7cd011db47 email offline_access openid profile), expires in 4490990 milliseconds

(11 was the steady-state before I started testing)

~ ➜ (cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "*vscode-insidersvscode.microsoft-*" }).Count
11
~ ➜ code-insiders
~ ➜ code-insiders
~ ➜ (cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "*vscode-insidersvscode.microsoft-*" }).Count
15
~ ➜ code-insiders
~ ➜ code-insiders
~ ➜ (cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "*vscode-insidersvscode.microsoft-*" }).Count
16
~ ➜ code-insiders
~ ➜ (cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "*vscode-insidersvscode.microsoft-*" }).Count
18
~ ➜ code-insiders
~ ➜ code-insiders
~ ➜ (cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "*vscode-insidersvscode.microsoft-*" }).Count
24

@webmiche
Copy link

This might be unrelated, but I'll still post it here:

I had the Unable to parse decrypted password-issue in Github Authentication as well, but on Manjaro. I am not sure which of these steps actually solved the issue, but it seems to work again now:

  • uninstall vscodev1.77.1
  • use seahorse to delete the vscodevscode.github-authentication/github.auth entry
  • generate a new SSH-key pair for github (and added it to me account)
  • reinstall vscodev1.77.3

When signing into Github again, it first failed (I guess this was the OAuth sign in version), so I signed in using the second method (i.e. by entering the passphrase VSCode gave me). This seems to work now, even after restarts of VSCode.

I hope this can help you, or anyone else experiencing it, resolve the issue.
Have a good week!

@TylerLeonhardt TylerLeonhardt added bug Issue identified by VS Code Team member as probable bug authentication Issues with the Authentication platform and removed info-needed Issue requires more information from poster labels Apr 24, 2023
@TylerLeonhardt TylerLeonhardt added this to the Backlog milestone Apr 24, 2023
@winstliu
Copy link
Member

Hi @TylerLeonhardt! Has there been any update here since the last attempt to get more debug info?
Our extension requires authentication and it's painful for people to keep having to re-sign in, especially when we open a new window for them that logs them right back out.

@TylerLeonhardt
Copy link
Member

Hello! This issue is now fixed in Insiders with us moving away from Keytar and on to Electron safeStorage for storing secrets 🎉

More info: #185677

@TylerLeonhardt
Copy link
Member

Verification:

  • open up Credential Manager and delete all vscodeinsiders prefixed secrets
  • Now start insiders, and log in to something
  • go back to credman and you shouldn't see any vscodeinsiders prefixed secrets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
authentication Issues with the Authentication platform bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

6 participants